Searched refs:thread_map (Results 1 - 28 of 28) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dthread_map.h7 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 Dthread_map.c11 #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 Devlist.h14 struct thread_map;
51 struct thread_map *threads;
65 struct thread_map *threads);
148 struct thread_map *threads) perf_evlist__set_maps()
H A Dpython.c9 #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 Devsel.h112 struct thread_map;
199 struct thread_map *threads);
201 struct thread_map *threads);
H A Devent.h303 struct thread_map;
311 struct thread_map *threads,
H A Dmachine.h213 struct target *target, struct thread_map *threads,
217 struct thread_map *threads, bool data_mmap) machine__synthesize_threads()
H A Devent.c11 #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 Devlist.c13 #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 Devsel.c24 #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 Dparse-events.c19 #include "thread_map.h"
1244 struct thread_map map; is_event_supported()
H A Dmachine.c1773 struct target *target, struct thread_map *threads, __machine__synthesize_threads()
/linux-4.1.27/tools/perf/tests/
H A Dopen-syscall.c1 #include "thread_map.h"
11 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); test__open_syscall_event()
H A Dkeep-tracking.c8 #include "thread_map.h"
63 struct thread_map *threads = NULL; test__keep_tracking()
H A Dopen-syscall-all-cpus.c3 #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 Dmmap-basic.c3 #include "thread_map.h"
22 struct thread_map *threads; test__basic_mmap()
H A Dperf-time-to-tsc.c9 #include "thread_map.h"
48 struct thread_map *threads = NULL; test__perf_time_to_tsc()
H A Dopen-syscall-tp-fields.c4 #include "thread_map.h"
H A Dmmap-thread-lookup.c11 #include "thread_map.h"
137 struct thread_map *map; synth_process()
H A Dsw-clock.c10 #include "util/thread_map.h"
H A Dtask-exit.c3 #include "thread_map.h"
H A Dcode-reading.c11 #include "thread_map.h"
402 struct thread_map *threads = NULL; do_test_code_reading()
H A Dswitch-tracking.c9 #include "thread_map.h"
321 struct thread_map *threads = NULL; test__switch_tracking()
/linux-4.1.27/tools/perf/python/
H A Dtwatch.py20 threads = perf.thread_map()
/linux-4.1.27/tools/perf/
H A Dbuiltin-record.c28 #include "util/thread_map.h"
H A Dbuiltin-top.c33 #include "util/thread_map.h"
H A Dbuiltin-trace.c12 #include "util/thread_map.h"
2227 * workload was, and in that case we will fill in the thread_map when trace__run()
H A Dbuiltin-stat.c60 #include "util/thread_map.h"

Completed in 380 milliseconds