/openbmc/linux/tools/lib/perf/tests/ |
H A D | test-threadmap.c | 26 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 D | thread-map.c | 38 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 D | threadmap.h | 16 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
|
/openbmc/linux/tools/lib/perf/ |
H A D | libperf.map | 20 perf_thread_map__pid;
|
H A D | threadmap.c | 98 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx) in perf_thread_map__pid() function
|
H A D | evlist.c | 412 sid->tid = perf_thread_map__pid(evsel->threads, thread); in perf_evsel__set_sid_idx()
|
/openbmc/linux/tools/perf/util/ |
H A D | bpf_off_cpu.c | 77 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 D | thread_map.c | 314 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 D | bpf_ftrace.c | 79 pid = perf_thread_map__pid(ftrace->evlist->core.threads, i); in perf_ftrace__latency_prepare_bpf()
|
H A D | bpf_lock_contention.c | 114 pid = perf_thread_map__pid(evlist->core.threads, i); in lock_contention_prepare()
|
H A D | stat-display.c | 227 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 D | synthetic-events.c | 871 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 D | bpf_counter.c | 546 key = perf_thread_map__pid(evsel->core.threads, i); in bperf__load()
|
H A D | auxtrace.c | 189 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 D | evsel.c | 1717 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 D | python.c | 792 return Py_BuildValue("i", perf_thread_map__pid(pthreads->threads, i)); in pyrf_thread_map__item()
|
/openbmc/linux/tools/lib/perf/Documentation/ |
H A D | libperf.txt | 70 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
|
/openbmc/linux/tools/perf/ |
H A D | builtin-ftrace.c | 270 perf_thread_map__pid(ftrace->evlist->core.threads, i)); in set_tracing_pid()
|
H A D | builtin-trace.c | 3620 } 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 D | builtin-script.c | 2297 perf_thread_map__pid(counter->core.threads, thread), in __process_stat()
|
/openbmc/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 1694 perf_thread_map__pid(threads, thread), tstamp, in python_process_stat()
|