Searched refs:thread_map__pid (Results 1 – 9 of 9) sorted by relevance
/tools/perf/tests/ |
D | thread-map.c | 19 thread_map__pid(map, 0) == getpid()); in test__thread_map() 34 TEST_ASSERT_VAL("wrong pid", thread_map__pid(map, 0) == -1); in test__thread_map()
|
/tools/perf/util/ |
D | thread_map.h | 38 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid() function
|
D | thread_map.c | 354 printed += fprintf(fp, "%s%d", i ? ", " : "", thread_map__pid(threads, i)); in thread_map__fprintf() 385 pid_t pid = thread_map__pid(map, i); in comm_init()
|
D | event.c | 510 thread_map__pid(threads, thread), 0, in perf_event__synthesize_thread_map() 521 if ((int) comm_event->comm.pid != thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map() 526 if ((int) comm_event->comm.pid == thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map()
|
D | auxtrace.c | 125 mp->tid = thread_map__pid(evlist->threads, 0); in auxtrace_mmap_params__set_idx() 130 mp->tid = thread_map__pid(evlist->threads, idx); in auxtrace_mmap_params__set_idx()
|
D | evlist.c | 605 sid->tid = thread_map__pid(evlist->threads, thread); in perf_evlist__set_sid_idx()
|
D | evsel.c | 1350 pid = thread_map__pid(threads, thread); in __perf_evsel__open()
|
/tools/perf/ |
D | builtin-stat.c | 483 thread_map__pid(evsel->threads, id), in aggr_printout()
|
D | builtin-trace.c | 2602 else if (thread_map__pid(evlist->threads, 0) == -1) in trace__run() 2631 trace->multiple_threads = thread_map__pid(evlist->threads, 0) == -1 || in trace__run()
|