Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
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()
/linux/tools/perf/util/
A Dcpumap.c232 return a->thread_idx - b->thread_idx; in aggr_cpu_id__cmp()
704 return a->thread_idx == b->thread_idx && in aggr_cpu_id__equal()
717 return a->thread_idx == -1 && in aggr_cpu_id__is_empty()
731 .thread_idx = -1, in aggr_cpu_id__empty()
A Dcpumap.h12 int thread_idx; member
A Dstat-display.c232 COMM_LEN, perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_std()
233 PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_std()
287 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
288 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
340 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_json()
341 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_json()
A Devsel.c1931 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__remove_fd() argument
1934 for (int thread = thread_idx; thread < nr_threads - 1; thread++) in evsel__remove_fd()
1940 int nr_threads, int thread_idx) in update_fds() argument
1944 if (cpu_map_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds()
1950 evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in update_fds()
/linux/lib/
A Dtest_kmod.c101 unsigned int thread_idx; member
230 dev_dbg(test_dev->dev, "Ran thread %u\n", info->thread_idx); in run_request()
236 kmod_test_done_check(test_dev, info->thread_idx); in run_request()
258 info->thread_idx, info->ret_sync); in tally_work_test()
265 info->thread_idx, info->fs_sync ? config->test_fs : in tally_work_test()
319 info->thread_idx = idx; in try_one_request()
/linux/tools/perf/
A Dbuiltin-stat.c1493 id.thread_idx = s; in perf_stat_init_aggr_mode()
1797 id.thread_idx = s; in perf_stat_init_aggr_mode_file()
A Dbuiltin-record.c1916 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples() argument
1925 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__save_lost_samples()

Completed in 41 milliseconds