Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/tests/
Dthread-map.c28 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/
Dthread_map.h46 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid() function
Dthread_map.c373 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()
Devent.c643 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()
Dauxtrace.c142 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()
Devsel.c1701 pid_t ignore_pid = thread_map__pid(threads, thread); in ignore_missing_thread()
1817 pid = thread_map__pid(threads, thread); in perf_evsel__open()
Devlist.c568 sid->tid = thread_map__pid(evlist->threads, thread); in perf_evlist__set_sid_idx()
/Linux-v4.19/tools/perf/
Dbuiltin-trace.c2542 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()
Dbuiltin-stat.c864 thread_map__pid(evsel->threads, id), in aggr_printout()
Dbuiltin-script.c1741 thread_map__pid(counter->threads, thread), in __process_stat()
/Linux-v4.19/tools/perf/util/scripting-engines/
Dtrace-event-python.c1324 thread_map__pid(threads, thread), tstamp, in python_process_stat()