Home
last modified time | relevance | path

Searched refs:perf_thread_map__pid (Results 1 – 23 of 23) sorted by relevance

/linux/tools/lib/perf/tests/
H A Dtest-threadmap.c26 perf_thread_map__pid(threads, i) == (array ? array[i] : -1)); in test_threadmap_array()
33 perf_thread_map__pid(threads, 0) == (array ? array[0] : -1)); in test_threadmap_array()
37 perf_thread_map__pid(threads, i) == i * 100); in test_threadmap_array()
/linux/tools/perf/tests/
H A Dthread-map.c37 perf_thread_map__pid(map, 0) == getpid()); in test__thread_map()
52 TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1); in test__thread_map()
79 perf_thread_map__pid(threads, 0) == getpid()); in process_event()
/linux/tools/lib/perf/include/perf/
H A Dthreadmap.h16 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
/linux/tools/perf/util/
H A Dbpf_off_cpu.c76 perf_thread_map__pid(evlist__core(evlist)->threads, 0) != -1) { in off_cpu_start()
82 pid = perf_thread_map__pid(evlist__core(evlist)->threads, 0); in off_cpu_start()
272 pid = perf_thread_map__pid(evlist__core(evlist)->threads, i); in off_cpu_prepare()
H A Dthread_map.c281 printed += fprintf(fp, "%s%d", i ? ", " : "", perf_thread_map__pid(threads, i)); in thread_map__fprintf()
312 pid_t pid = perf_thread_map__pid(map, i); in comm_init()
H A Dbpf_ftrace.c103 pid = perf_thread_map__pid(evlist__core(ftrace->evlist)->threads, i); in perf_ftrace__latency_prepare_bpf()
H A Dbpf-filter.c342 .tgid = perf_thread_map__pid(threads, i), in destroy_idx_hash()
410 int pid = perf_thread_map__pid(threads, i); in create_idx_hash()
H A Dstat-display.c298 PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_std()
353 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
404 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_json()
H A Dtool_pmu.c292 pid = perf_thread_map__pid(threads, thread); in evsel__tool_pmu_open()
H A Ddrm_pmu.c663 int pid = perf_thread_map__pid(evsel->core.threads, thread); in evsel__drm_pmu_read()
H A Dsynthetic-events.c1017 perf_thread_map__pid(threads, thread), 0,
1028 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in synthesize_threads_worker()
1033 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_threads()
1355 entry->pid = perf_thread_map__pid(threads, i); in cpu_map_event__new()
H A Dbpf_counter.c627 key = perf_thread_map__pid(evsel->core.threads, i); in bperf__load()
H A Dbpf_lock_contention.c349 pid = perf_thread_map__pid(evlist__core(evlist)->threads, i); in lock_contention_prepare()
H A Dauxtrace.c205 mp->tid = perf_thread_map__pid(evlist__core(evlist)->threads, 0); in auxtrace_mmap_params__set_idx()
208 mp->tid = perf_thread_map__pid(evlist__core(evlist)->threads, idx); in auxtrace_mmap_params__set_idx()
H A Devsel.c2398 pid_t ignore_pid = perf_thread_map__pid(threads, thread); in __has_attr_feature()
3041 pid = perf_thread_map__pid(threads, thread); in perf_evsel__parse_id_sample()
H A Dpython.c1636 return Py_BuildValue("i", perf_thread_map__pid(pthreads->threads, i));
/linux/tools/lib/perf/
H A Dthreadmap.c98 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx) in perf_thread_map__pid() function
H A Devlist.c497 sid->tid = perf_thread_map__pid(evsel->threads, thread); in perf_evsel__set_sid_idx()
/linux/tools/lib/perf/Documentation/
H A Dlibperf.txt69 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
/linux/tools/perf/
H A Dbuiltin-ftrace.c375 perf_thread_map__pid(evlist__core(ftrace->evlist)->threads, i)); in set_tracing_pid()
H A Dbuiltin-script.c2315 .system_wide = perf_thread_map__pid(evsel->core.threads, /*idx=*/0) == -1, in perf_sample__fprint_metric()
2360 if (perf_thread_map__pid(evsel->core.threads, /*idx=*/0) == -1 || in perf_sample__fprint_metric()
2605 perf_thread_map__pid(counter->core.threads, thread), in process_stat()
H A Dbuiltin-trace.c4336 } else if (perf_thread_map__pid(evlist__core(trace->evlist)->threads, 0) == -1) { in trace__expand_filter()
4721 trace->multiple_threads = perf_thread_map__pid(evlist__core(evlist)->threads, 0) == -1 || in trace__replay()
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1724 perf_thread_map__pid(threads, thread), tstamp, in python_process_stat_interval()