Searched refs:perf_thread_map__pid (Results 1 – 19 of 19) sorted by relevance
/Linux-v6.1/tools/lib/perf/tests/ |
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()
|
/Linux-v6.1/tools/perf/tests/ |
D | thread-map.c | 37 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-v6.1/tools/lib/perf/include/perf/ |
D | threadmap.h | 16 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
|
/Linux-v6.1/tools/perf/util/ |
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() 244 pid = perf_thread_map__pid(evlist->core.threads, i); in off_cpu_prepare()
|
D | thread_map.c | 313 printed += fprintf(fp, "%s%d", i ? ", " : "", perf_thread_map__pid(threads, i)); in thread_map__fprintf() 344 pid_t pid = perf_thread_map__pid(map, i); in comm_init()
|
D | bpf_ftrace.c | 79 pid = perf_thread_map__pid(ftrace->evlist->core.threads, i); in perf_ftrace__latency_prepare_bpf()
|
D | bpf_lock_contention.c | 77 pid = perf_thread_map__pid(evlist->core.threads, i); in lock_contention_prepare()
|
D | synthetic-events.c | 869 perf_thread_map__pid(threads, thread), 0, in perf_event__synthesize_thread_map() 880 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map() 885 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map() 1207 entry->pid = perf_thread_map__pid(threads, i); in perf_event__synthesize_thread_map2()
|
D | stat-display.c | 193 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in aggr_printout() 199 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in aggr_printout()
|
D | auxtrace.c | 188 mp->tid = perf_thread_map__pid(evlist->core.threads, 0); in auxtrace_mmap_params__set_idx() 193 mp->tid = perf_thread_map__pid(evlist->core.threads, idx); in auxtrace_mmap_params__set_idx()
|
D | evsel.c | 1738 pid_t ignore_pid = perf_thread_map__pid(threads, thread); in evsel__ignore_missing_thread() 2078 pid = perf_thread_map__pid(threads, thread); in evsel__open_cpu()
|
/Linux-v6.1/tools/lib/perf/ |
D | libperf.map | 20 perf_thread_map__pid;
|
D | threadmap.c | 98 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx) in perf_thread_map__pid() function
|
D | evlist.c | 391 sid->tid = perf_thread_map__pid(evsel->threads, thread); in perf_evsel__set_sid_idx()
|
/Linux-v6.1/tools/lib/perf/Documentation/ |
D | libperf.txt | 70 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
|
/Linux-v6.1/tools/perf/ |
D | builtin-ftrace.c | 270 perf_thread_map__pid(ftrace->evlist->core.threads, i)); in set_tracing_pid()
|
D | builtin-trace.c | 3734 } else if (perf_thread_map__pid(trace->evlist->core.threads, 0) == -1) { 4094 trace->multiple_threads = perf_thread_map__pid(evlist->core.threads, 0) == -1 ||
|
D | builtin-script.c | 2260 perf_thread_map__pid(counter->core.threads, thread), in __process_stat()
|
/Linux-v6.1/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 1665 perf_thread_map__pid(threads, thread), tstamp, in python_process_stat()
|