Searched refs:thread_map__pid (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/tools/perf/tests/ |
D | thread-map.c | 28 thread_map__pid(map, 0) == getpid()); in test__thread_map() 43 TEST_ASSERT_VAL("wrong pid", thread_map__pid(map, 0) == -1); in test__thread_map() 70 thread_map__pid(threads, 0) == getpid()); in process_event()
|
/Linux-v4.19/tools/perf/util/ |
D | thread_map.h | 46 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid() function
|
D | thread_map.c | 373 printed += fprintf(fp, "%s%d", i ? ", " : "", thread_map__pid(threads, i)); in thread_map__fprintf() 404 pid_t pid = thread_map__pid(map, i); in comm_init()
|
D | event.c | 643 thread_map__pid(threads, thread), 0, in perf_event__synthesize_thread_map() 654 if ((int) comm_event->comm.pid != thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map() 659 if ((int) comm_event->comm.pid == thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map() 999 entry->pid = thread_map__pid(threads, i); in perf_event__synthesize_thread_map2()
|
D | auxtrace.c | 142 mp->tid = thread_map__pid(evlist->threads, 0); in auxtrace_mmap_params__set_idx() 147 mp->tid = thread_map__pid(evlist->threads, idx); in auxtrace_mmap_params__set_idx()
|
D | evsel.c | 1701 pid_t ignore_pid = thread_map__pid(threads, thread); in ignore_missing_thread() 1817 pid = thread_map__pid(threads, thread); in perf_evsel__open()
|
D | evlist.c | 568 sid->tid = thread_map__pid(evlist->threads, thread); in perf_evlist__set_sid_idx()
|
/Linux-v4.19/tools/perf/ |
D | builtin-trace.c | 2542 else if (thread_map__pid(evlist->threads, 0) == -1) in trace__run() 2576 trace->multiple_threads = thread_map__pid(evlist->threads, 0) == -1 || in trace__run()
|
D | builtin-stat.c | 864 thread_map__pid(evsel->threads, id), in aggr_printout()
|
D | builtin-script.c | 1741 thread_map__pid(counter->threads, thread), in __process_stat()
|
/Linux-v4.19/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 1324 thread_map__pid(threads, thread), tstamp, in python_process_stat()
|