/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | topology.c | 140 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()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | cpumap.c | 232 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 D | cpumap.h | 13 int thread_idx; member
|
H A D | stat-display.c | 226 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 D | evsel.c | 1681 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() 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() 1688 update_fds(struct evsel *evsel, int nr_cpus, int cpu_map_idx, int nr_threads, int thread_idx) update_fds() argument
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_kmod.c | 96 * @thread_idx: thread ID 108 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()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_kmod.c | 85 * @thread_idx: thread ID 97 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()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | evsel.c | 1581 int thread_idx) in perf_evsel__remove_fd() 1584 for (int thread = thread_idx; thread < nr_threads - 1; thread++) in perf_evsel__remove_fd() 1590 int nr_threads, int thread_idx) in update_fds() 1594 if (cpu_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds() 1600 perf_evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in update_fds() 1579 perf_evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) perf_evsel__remove_fd() argument 1588 update_fds(struct evsel *evsel, int nr_cpus, int cpu_idx, int nr_threads, int thread_idx) update_fds() argument
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-stat.c | 1614 id.thread_idx = s; in perf_stat_init_aggr_mode() 1903 id.thread_idx = s; in perf_stat_init_aggr_mode_file()
|
H A D | builtin-record.c | 1860 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples() 1869 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__save_lost_samples() 1858 __record__save_lost_samples(struct record *rec, struct evsel *evsel, struct perf_record_lost_samples *lost, int cpu_idx, int thread_idx, u64 lost_count, u16 misc_flag) __record__save_lost_samples() argument
|