Home
last modified time | relevance | path

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

/tools/perf/tests/
Dtopology.c140 TEST_ASSERT_VAL("Cpu map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
156 TEST_ASSERT_VAL("Core map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
172 TEST_ASSERT_VAL("Die map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
186 TEST_ASSERT_VAL("Socket map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
198 TEST_ASSERT_VAL("Node map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
/tools/perf/util/
Dcpumap.c232 return a->thread_idx - b->thread_idx; in aggr_cpu_id__cmp()
682 return a->thread_idx == b->thread_idx && in aggr_cpu_id__equal()
694 return a->thread_idx == -1 && in aggr_cpu_id__is_empty()
707 .thread_idx = -1, in aggr_cpu_id__empty()
Dcpumap.h13 int thread_idx; member
Dstat-display.c226 COMM_LEN, perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_std()
227 PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_std()
277 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
278 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
326 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_json()
327 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_json()
Devsel.c1681 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__remove_fd() argument
1684 for (int thread = thread_idx; thread < nr_threads - 1; thread++) in evsel__remove_fd()
1690 int nr_threads, int thread_idx) in update_fds() argument
1694 if (cpu_map_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds()
1700 evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in update_fds()
/tools/perf/
Dbuiltin-stat.c1614 id.thread_idx = s; in perf_stat_init_aggr_mode()
1903 id.thread_idx = s; in perf_stat_init_aggr_mode_file()
Dbuiltin-record.c1862 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples() argument
1871 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__save_lost_samples()