Home
last modified time | relevance | path

Searched refs:thread_idx (Results 1 – 8 of 8) sorted by relevance

/tools/perf/tests/
A Dtopology.c140 TEST_ASSERT_VAL("Cpu map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
155 TEST_ASSERT_VAL("Core map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
170 TEST_ASSERT_VAL("Die map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
183 TEST_ASSERT_VAL("Socket map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
195 TEST_ASSERT_VAL("Node map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
/tools/perf/util/
A Dcpumap.c250 return a->thread_idx - b->thread_idx; in aggr_cpu_id__cmp()
730 return a->thread_idx == b->thread_idx && in aggr_cpu_id__equal()
743 return a->thread_idx == -1 && in aggr_cpu_id__is_empty()
757 .thread_idx = -1, in aggr_cpu_id__empty()
A Dcpumap.h12 int thread_idx; member
A Dpython.c937 int cpu = 0, cpu_idx, thread = 0, thread_idx; in pyrf_evsel__read() local
953 thread_idx = perf_thread_map__idx(evsel->core.threads, thread); in pyrf_evsel__read()
954 if (thread_idx < 0) { in pyrf_evsel__read()
964 old_count = perf_counts(evsel->prev_raw_counts, cpu_idx, thread_idx); in pyrf_evsel__read()
965 new_count = perf_counts(evsel->counts, cpu_idx, thread_idx); in pyrf_evsel__read()
967 evsel__read_counter(evsel, cpu_idx, thread_idx); in pyrf_evsel__read()
A Dstat-display.c297 COMM_LEN, perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_std()
298 PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_std()
352 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
353 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
403 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_json()
404 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_json()
A Devsel.c1967 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__remove_fd() argument
1970 for (int thread = thread_idx; thread < nr_threads - 1; thread++) in evsel__remove_fd()
1976 int nr_threads, int thread_idx) in update_fds() argument
1980 if (cpu_map_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds()
1986 evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in update_fds()
/tools/perf/
A Dbuiltin-stat.c1505 id.thread_idx = s; in perf_stat_init_aggr_mode()
1806 id.thread_idx = s; in perf_stat_init_aggr_mode_file()
A Dbuiltin-record.c1939 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples() argument
1949 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__save_lost_samples()

Completed in 83 milliseconds