Searched refs:thread_idx (Results 1 – 5 of 5) sorted by relevance
/linux/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()
|
/linux/tools/perf/util/ |
H A D | cpumap.c | 232 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()
|
H A D | cpumap.h | 12 int thread_idx; 13 int thread_idx; global() member
|
H A D | evsel.c | 1945 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__remove_fd() argument 1948 for (int thread = thread_idx; thread < nr_threads - 1; thread++) in evsel__remove_fd() 1954 int nr_threads, int thread_idx) in update_fds() argument 1958 if (cpu_map_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds() 1964 evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in update_fds()
|
/linux/lib/ |
H A D | test_kmod.c | 101 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()
|