Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/tools/perf/tests/
H A Dthread-map.c38 perf_thread_map__pid(map, 0) == getpid()); in test__thread_map()
53 TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1); in test__thread_map()
80 perf_thread_map__pid(threads, 0) == getpid()); in process_event()
/openbmc/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);
/openbmc/linux/tools/lib/perf/
H A Dlibperf.map20 perf_thread_map__pid;
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.c412 sid->tid = perf_thread_map__pid(evsel->threads, thread); in perf_evsel__set_sid_idx()
/openbmc/linux/tools/perf/util/
H A Dbpf_off_cpu.c77 perf_thread_map__pid(evlist->core.threads, 0) != -1) { in off_cpu_start()
85 pid = perf_thread_map__pid(evlist->core.threads, 0); in off_cpu_start()
245 pid = perf_thread_map__pid(evlist->core.threads, i); in off_cpu_prepare()
H A Dthread_map.c314 printed += fprintf(fp, "%s%d", i ? ", " : "", perf_thread_map__pid(threads, i)); in thread_map__fprintf()
345 pid_t pid = perf_thread_map__pid(map, i); in comm_init()
H A Dbpf_ftrace.c79 pid = perf_thread_map__pid(ftrace->evlist->core.threads, i); in perf_ftrace__latency_prepare_bpf()
H A Dbpf_lock_contention.c114 pid = perf_thread_map__pid(evlist->core.threads, i); in lock_contention_prepare()
H A Dstat-display.c227 PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_std()
278 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in print_aggr_id_csv()
327 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_json()
H A Dsynthetic-events.c871 perf_thread_map__pid(threads, thread), 0, in perf_event__synthesize_thread_map()
882 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map()
887 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map()
1209 entry->pid = perf_thread_map__pid(threads, i); in perf_event__synthesize_thread_map2()
H A Dbpf_counter.c546 key = perf_thread_map__pid(evsel->core.threads, i); in bperf__load()
H A Dauxtrace.c189 mp->tid = perf_thread_map__pid(evlist->core.threads, 0); in auxtrace_mmap_params__set_idx()
194 mp->tid = perf_thread_map__pid(evlist->core.threads, idx); in auxtrace_mmap_params__set_idx()
H A Devsel.c1717 pid_t ignore_pid = perf_thread_map__pid(threads, thread); in evsel__ignore_missing_thread()
2057 pid = perf_thread_map__pid(threads, thread); in evsel__open_cpu()
H A Dpython.c792 return Py_BuildValue("i", perf_thread_map__pid(pthreads->threads, i)); in pyrf_thread_map__item()
/openbmc/linux/tools/lib/perf/Documentation/
H A Dlibperf.txt70 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
/openbmc/linux/tools/perf/
H A Dbuiltin-ftrace.c270 perf_thread_map__pid(ftrace->evlist->core.threads, i)); in set_tracing_pid()
H A Dbuiltin-trace.c3620 } else if (perf_thread_map__pid(trace->evlist->core.threads, 0) == -1) {
3982 trace->multiple_threads = perf_thread_map__pid(evlist->core.threads, 0) == -1 ||
H A Dbuiltin-script.c2297 perf_thread_map__pid(counter->core.threads, thread), in __process_stat()
/openbmc/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1694 perf_thread_map__pid(threads, thread), tstamp, in python_process_stat()