Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/tests/
Dtopology.c150 TEST_ASSERT_VAL("Cpu map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
166 TEST_ASSERT_VAL("Core map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
182 TEST_ASSERT_VAL("Die map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
196 TEST_ASSERT_VAL("Socket map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
208 TEST_ASSERT_VAL("Node map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
/linux-6.1.9/tools/perf/util/
Dcpumap.c232 return a->thread_idx - b->thread_idx; in aggr_cpu_id__cmp()
670 return a->thread_idx == b->thread_idx && in aggr_cpu_id__equal()
680 return a->thread_idx == -1 && in aggr_cpu_id__is_empty()
691 .thread_idx = -1, in aggr_cpu_id__empty()
Dcpumap.h13 int thread_idx; member
Dstat-display.c192 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in aggr_printout()
193 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in aggr_printout()
197 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in aggr_printout()
199 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in aggr_printout()
456 return id->thread_idx; in first_shadow_map_idx()
937 buf[i].id.thread_idx = thread; in sort_aggr_thread()
Devsel.c1702 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__remove_fd() argument
1705 for (int thread = thread_idx; thread < nr_threads - 1; thread++) in evsel__remove_fd()
1711 int nr_threads, int thread_idx) in update_fds() argument
1715 if (cpu_map_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds()
1721 evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in update_fds()
/linux-6.1.9/lib/
Dtest_kmod.c108 unsigned int thread_idx; member
237 dev_dbg(test_dev->dev, "Ran thread %u\n", info->thread_idx); in run_request()
243 kmod_test_done_check(test_dev, info->thread_idx); in run_request()
265 info->thread_idx, info->ret_sync); in tally_work_test()
272 info->thread_idx, info->fs_sync ? config->test_fs : in tally_work_test()
326 info->thread_idx = idx; in try_one_request()
/linux-6.1.9/tools/perf/
Dbuiltin-record.c1863 int cpu_idx, int thread_idx) in __record__read_lost_samples() argument
1870 if (perf_evsel__read(&evsel->core, cpu_idx, thread_idx, &count) < 0) { in __record__read_lost_samples()
1880 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__read_lost_samples()