Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dtopology.c147 TEST_ASSERT_VAL("Cpu map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
162 TEST_ASSERT_VAL("Core map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
177 TEST_ASSERT_VAL("Die map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
190 TEST_ASSERT_VAL("Socket map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
202 TEST_ASSERT_VAL("Node map - Thread IDX is set", id.thread_idx == -1); in test__session_topology()
/linux/tools/perf/util/
H A Dcpumap.c278 return a->thread_idx - b->thread_idx; in cpu_aggr_map__new()
786 return a->thread_idx == b->thread_idx &&
799 return a->thread_idx == -1 &&
813 .thread_idx = -1,
H A Dpython.c2208 int cpu = 0, cpu_idx, thread = 0, thread_idx;
2222 thread_idx = perf_thread_map__idx(evsel->core.threads, thread);
2223 if (thread_idx < 0) {
2237 old_count = perf_counts(evsel->prev_raw_counts, cpu_idx, thread_idx);
2238 new_count = perf_counts(evsel->counts, cpu_idx, thread_idx);
2240 evsel__read_counter(evsel, cpu_idx, thread_idx); in PyInit_perf()
2729 int cpu_idx, int thread_idx)
2773 old_count = perf_counts(cur->prev_raw_counts, cpu_idx, thread_idx);
2774 new_count = perf_counts(cur->counts, cpu_idx, thread_idx);
2776 evsel__read_counter(cur, cpu_idx, thread_idx);
1148 int cpu = 0, cpu_idx, thread = 0, thread_idx; pyrf_evsel__read() local
1337 prepare_metric(const struct metric_expr * mexp,const struct evsel * evsel,struct expr_parse_ctx * pctx,int cpu_idx,int thread_idx) prepare_metric() argument
1410 int ret, cpu = 0, cpu_idx = 0, thread = 0, thread_idx = 0; pyrf_evlist__compute_metric() local
[all...]
H A Dcpumap.h12 int thread_idx;
13 int thread_idx; global() member
H A Dstat-display.c297 COMM_LEN, perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_std()
298 PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_std()
352 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
353 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
403 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_json()
404 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_json()
H A Devsel.c2362 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__disable_missing_features()
2365 for (int thread = thread_idx; thread < nr_threads - 1; thread++)
2371 int nr_threads, int thread_idx) in evsel__prepare_open()
2375 if (cpu_map_idx >= nr_cpus || thread_idx >= nr_threads) in evsel__prepare_open()
2381 evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in __has_attr_feature()
2167 evsel__remove_fd(struct evsel * pos,int nr_cpus,int nr_threads,int thread_idx) evsel__remove_fd() argument
2176 update_fds(struct evsel * evsel,int nr_cpus,int cpu_map_idx,int nr_threads,int thread_idx) update_fds() argument
/linux/lib/
H A Dtest_kmod.c107 unsigned int thread_idx; member
236 dev_dbg(test_dev->dev, "Ran thread %u\n", info->thread_idx); in run_request()
242 kmod_test_done_check(test_dev, info->thread_idx); in run_request()
264 info->thread_idx, info->ret_sync); in tally_work_test()
271 info->thread_idx, info->fs_sync ? config->test_fs : in tally_work_test()
325 info->thread_idx = idx; in try_one_request()
/linux/tools/perf/
H A Dbuiltin-stat.c1613 id.thread_idx = s; in perf_stat__exit_aggr_mode()
1920 id.thread_idx = s; in default_evlist_evsel_cmp()
H A Dbuiltin-record.c1988 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples()
1998 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in record__read_lost_samples()
1973 __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