Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/tests/
H A 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()
/openbmc/linux/tools/perf/util/
H A 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()
H A Dcpumap.h13 int thread_idx; member
H A 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()
H A 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()
/openbmc/linux/lib/
H A Dtest_kmod.c97 unsigned int thread_idx; member
226 dev_dbg(test_dev->dev, "Ran thread %u\n", info->thread_idx); in run_request()
232 kmod_test_done_check(test_dev, info->thread_idx); in run_request()
254 info->thread_idx, info->ret_sync); in tally_work_test()
261 info->thread_idx, info->fs_sync ? config->test_fs : in tally_work_test()
315 info->thread_idx = idx; in try_one_request()
/openbmc/linux/tools/perf/
H A 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()
H A 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()