Home
last modified time | relevance | path

Searched refs:thread_map__pid (Results 1 – 9 of 9) sorted by relevance

/tools/perf/tests/
Dthread-map.c19 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/
Dthread_map.h38 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid() function
Dthread_map.c354 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()
Devent.c510 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()
Dauxtrace.c125 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()
Devlist.c605 sid->tid = thread_map__pid(evlist->threads, thread); in perf_evlist__set_sid_idx()
Devsel.c1350 pid = thread_map__pid(threads, thread); in __perf_evsel__open()
/tools/perf/
Dbuiltin-stat.c483 thread_map__pid(evsel->threads, id), in aggr_printout()
Dbuiltin-trace.c2602 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()