/linux-4.1.27/tools/perf/util/ |
H A D | thread_map.h | 7 struct thread_map { struct 12 struct thread_map *thread_map__new_dummy(void); 13 struct thread_map *thread_map__new_by_pid(pid_t pid); 14 struct thread_map *thread_map__new_by_tid(pid_t tid); 15 struct thread_map *thread_map__new_by_uid(uid_t uid); 16 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 18 struct thread_map *thread_map__new_str(const char *pid, 21 void thread_map__delete(struct thread_map *threads); 23 size_t thread_map__fprintf(struct thread_map *threads, FILE *fp); 25 static inline int thread_map__nr(struct thread_map *threads) thread_map__nr()
|
H A D | thread_map.c | 11 #include "thread_map.h" 23 struct thread_map *thread_map__new_by_pid(pid_t pid) thread_map__new_by_pid() 25 struct thread_map *threads; thread_map__new_by_pid() 50 struct thread_map *thread_map__new_by_tid(pid_t tid) thread_map__new_by_tid() 52 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); thread_map__new_by_tid() 62 struct thread_map *thread_map__new_by_uid(uid_t uid) thread_map__new_by_uid() 68 struct thread_map *threads = malloc(sizeof(*threads) + thread_map__new_by_uid() 107 struct thread_map *tmp; thread_map__new_by_uid() 146 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) thread_map__new() 157 static struct thread_map *thread_map__new_by_pid_str(const char *pid_str) thread_map__new_by_pid_str() 159 struct thread_map *threads = NULL, *nt; thread_map__new_by_pid_str() 217 struct thread_map *thread_map__new_dummy(void) thread_map__new_dummy() 219 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); thread_map__new_dummy() 228 static struct thread_map *thread_map__new_by_tid_str(const char *tid_str) thread_map__new_by_tid_str() 230 struct thread_map *threads = NULL, *nt; thread_map__new_by_tid_str() 273 struct thread_map *thread_map__new_str(const char *pid, const char *tid, thread_map__new_str() 285 void thread_map__delete(struct thread_map *threads) thread_map__delete() 290 size_t thread_map__fprintf(struct thread_map *threads, FILE *fp) thread_map__fprintf()
|
H A D | evlist.h | 14 struct thread_map; 51 struct thread_map *threads; 65 struct thread_map *threads); 148 struct thread_map *threads) perf_evlist__set_maps()
|
H A D | python.c | 9 #include "thread_map.h" 435 struct thread_map *threads; 486 .tp_name = "perf.thread_map", 623 struct thread_map *threads = NULL; pyrf_evsel__open() 692 struct thread_map *threads; pyrf_evlist__init() 1045 PyModule_AddObject(module, "thread_map", (PyObject*)&pyrf_thread_map__type); initperf()
|
H A D | evsel.h | 112 struct thread_map; 199 struct thread_map *threads); 201 struct thread_map *threads);
|
H A D | event.h | 303 struct thread_map; 311 struct thread_map *threads,
|
H A D | machine.h | 213 struct target *target, struct thread_map *threads, 217 struct thread_map *threads, bool data_mmap) machine__synthesize_threads()
|
H A D | event.c | 11 #include "thread_map.h" 453 struct thread_map *threads, perf_event__synthesize_thread_map() 491 /* is thread group leader in thread_map? */ perf_event__synthesize_thread_map()
|
H A D | evlist.c | 13 #include "thread_map.h" 36 struct thread_map *threads) perf_evlist__init() 1000 const struct thread_map *threads = evlist->threads; perf_evlist__mmap()
|
H A D | evsel.c | 24 #include "thread_map.h" 1135 struct thread_map *threads) __perf_evsel__open() 1302 struct thread_map map; 1310 struct thread_map *threads) perf_evsel__open() 1330 struct thread_map *threads) perf_evsel__open_per_thread()
|
H A D | parse-events.c | 19 #include "thread_map.h" 1244 struct thread_map map; is_event_supported()
|
H A D | machine.c | 1773 struct target *target, struct thread_map *threads, __machine__synthesize_threads()
|
/linux-4.1.27/tools/perf/tests/ |
H A D | open-syscall.c | 1 #include "thread_map.h" 11 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); test__open_syscall_event()
|
H A D | keep-tracking.c | 8 #include "thread_map.h" 63 struct thread_map *threads = NULL; test__keep_tracking()
|
H A D | open-syscall-all-cpus.c | 3 #include "thread_map.h" 14 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); test__open_syscall_event_on_all_cpus()
|
H A D | mmap-basic.c | 3 #include "thread_map.h" 22 struct thread_map *threads; test__basic_mmap()
|
H A D | perf-time-to-tsc.c | 9 #include "thread_map.h" 48 struct thread_map *threads = NULL; test__perf_time_to_tsc()
|
H A D | open-syscall-tp-fields.c | 4 #include "thread_map.h"
|
H A D | mmap-thread-lookup.c | 11 #include "thread_map.h" 137 struct thread_map *map; synth_process()
|
H A D | sw-clock.c | 10 #include "util/thread_map.h"
|
H A D | task-exit.c | 3 #include "thread_map.h"
|
H A D | code-reading.c | 11 #include "thread_map.h" 402 struct thread_map *threads = NULL; do_test_code_reading()
|
H A D | switch-tracking.c | 9 #include "thread_map.h" 321 struct thread_map *threads = NULL; test__switch_tracking()
|
/linux-4.1.27/tools/perf/python/ |
H A D | twatch.py | 20 threads = perf.thread_map()
|
/linux-4.1.27/tools/perf/ |
H A D | builtin-record.c | 28 #include "util/thread_map.h"
|
H A D | builtin-top.c | 33 #include "util/thread_map.h"
|
H A D | builtin-trace.c | 12 #include "util/thread_map.h" 2227 * workload was, and in that case we will fill in the thread_map when trace__run()
|
H A D | builtin-stat.c | 60 #include "util/thread_map.h"
|