| /Linux-v5.4/tools/perf/util/ | 
| D | thread_map.h | 13 struct perf_thread_map *thread_map__new_dummy(void);14 struct perf_thread_map *thread_map__new_by_pid(pid_t pid);
 15 struct perf_thread_map *thread_map__new_by_tid(pid_t tid);
 16 struct perf_thread_map *thread_map__new_by_uid(uid_t uid);
 17 struct perf_thread_map *thread_map__new_all_cpus(void);
 18 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
 19 struct perf_thread_map *thread_map__new_event(struct perf_record_thread_map *event);
 21 struct perf_thread_map *thread_map__new_str(const char *pid,
 24 struct perf_thread_map *thread_map__new_by_tid_str(const char *tid_str);
 26 size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp);
 [all …]
 
 | 
| D | thread_map.c | 33 struct perf_thread_map *thread_map__new_by_pid(pid_t pid)  in thread_map__new_by_pid()35 	struct perf_thread_map *threads;  in thread_map__new_by_pid()
 61 struct perf_thread_map *thread_map__new_by_tid(pid_t tid)  in thread_map__new_by_tid()
 63 	struct perf_thread_map *threads = thread_map__alloc(1);  in thread_map__new_by_tid()
 74 static struct perf_thread_map *__thread_map__new_all_cpus(uid_t uid)  in __thread_map__new_all_cpus()
 80 	struct perf_thread_map *threads = thread_map__alloc(max_threads);  in __thread_map__new_all_cpus()
 120 			struct perf_thread_map *tmp;  in __thread_map__new_all_cpus()
 160 struct perf_thread_map *thread_map__new_all_cpus(void)  in thread_map__new_all_cpus()
 165 struct perf_thread_map *thread_map__new_by_uid(uid_t uid)  in thread_map__new_by_uid()
 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid)  in thread_map__new()
 [all …]
 
 | 
| D | synthetic-events.h | 22 struct perf_thread_map;53 int perf_event__synthesize_thread_map2(struct perf_tool *tool, struct perf_thread_map *threads, per…
 54 int perf_event__synthesize_thread_map(struct perf_tool *tool, struct perf_thread_map *threads, perf…
 65 				  struct target *target, struct perf_thread_map *threads,
 69 				struct perf_thread_map *threads, bool data_mmap,
 
 | 
| D | evsel.h | 227 				struct perf_thread_map *threads);229 		struct perf_thread_map *threads);
 
 | 
| /Linux-v5.4/tools/perf/lib/ | 
| D | threadmap.c | 10 static void perf_thread_map__reset(struct perf_thread_map *map, int start, int nr)  in perf_thread_map__reset()18 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr)  in perf_thread_map__realloc()
 35 void perf_thread_map__set_pid(struct perf_thread_map *map, int thread, pid_t pid)  in perf_thread_map__set_pid()
 40 char *perf_thread_map__comm(struct perf_thread_map *map, int thread)  in perf_thread_map__comm()
 45 struct perf_thread_map *perf_thread_map__new_dummy(void)  in perf_thread_map__new_dummy()
 47 	struct perf_thread_map *threads = thread_map__alloc(1);  in perf_thread_map__new_dummy()
 57 static void perf_thread_map__delete(struct perf_thread_map *threads)  in perf_thread_map__delete()
 70 struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map)  in perf_thread_map__get()
 77 void perf_thread_map__put(struct perf_thread_map *map)  in perf_thread_map__put()
 83 int perf_thread_map__nr(struct perf_thread_map *threads)  in perf_thread_map__nr()
 [all …]
 
 | 
| D | evsel.c | 67 		     struct perf_thread_map *threads)  in perf_evsel__open()84 		static struct perf_thread_map *empty_thread_map;  in perf_evsel__open()
 224 struct perf_thread_map *perf_evsel__threads(struct perf_evsel *evsel)  in perf_evsel__threads()
 
 | 
| /Linux-v5.4/tools/perf/lib/include/perf/ | 
| D | threadmap.h | 8 struct perf_thread_map;10 LIBPERF_API struct perf_thread_map *perf_thread_map__new_dummy(void);
 12 LIBPERF_API void perf_thread_map__set_pid(struct perf_thread_map *map, int thread, pid_t pid);
 13 LIBPERF_API char *perf_thread_map__comm(struct perf_thread_map *map, int thread);
 14 LIBPERF_API int perf_thread_map__nr(struct perf_thread_map *threads);
 15 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int thread);
 17 LIBPERF_API struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map);
 18 LIBPERF_API void perf_thread_map__put(struct perf_thread_map *map);
 
 | 
| D | evsel.h | 11 struct perf_thread_map;29 				 struct perf_thread_map *threads);
 36 LIBPERF_API struct perf_thread_map *perf_evsel__threads(struct perf_evsel *evsel);
 
 | 
| D | evlist.h | 10 struct perf_thread_map;33 				       struct perf_thread_map *threads);
 
 | 
| /Linux-v5.4/tools/perf/lib/Documentation/man/ | 
| D | libperf.rst | 9   - struct perf_thread_map43   struct perf_thread_map \*perf_thread_map__new_dummy(void);
 44   void perf_thread_map__set_pid(struct perf_thread_map \*map, int thread, pid_t pid);
 45   char \*perf_thread_map__comm(struct perf_thread_map \*map, int thread);
 46   struct perf_thread_map \*perf_thread_map__get(struct perf_thread_map \*map);
 47   void perf_thread_map__put(struct perf_thread_map \*map);
 69                            struct perf_thread_map \*threads);
 91                      struct perf_thread_map \*threads);
 99   struct perf_thread_map \*perf_evsel__threads(struct perf_evsel \*evsel);
 
 | 
| /Linux-v5.4/tools/perf/lib/include/internal/ | 
| D | threadmap.h | 14 struct perf_thread_map {  struct21 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr);  argument
 
 | 
| D | evsel.h | 11 struct perf_thread_map;42 	struct perf_thread_map	*threads;
 
 | 
| D | evlist.h | 13 struct perf_thread_map;20 	struct perf_thread_map	*threads;
 
 | 
| /Linux-v5.4/tools/perf/tests/ | 
| D | thread-map.c | 24 	struct perf_thread_map *map;  in test__thread_map()68 	struct perf_thread_map *threads;  in process_event()
 91 	struct perf_thread_map *threads;  in test__thread_map_synthesize()
 110 	struct perf_thread_map *threads;  in test__thread_map_remove()
 
 | 
| D | event-times.c | 62 	struct perf_thread_map *threads;  in attach__current_disabled()88 	struct perf_thread_map *threads;  in attach__current_enabled()
 
 | 
| D | openat-syscall.c | 21 	struct perf_thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX);  in test__openat_syscall_event()
 | 
| D | openat-syscall-all-cpus.c | 30 	struct perf_thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX);  in test__openat_syscall_event_on_all_cpus()
 | 
| D | sw-clock.c | 45 	struct perf_thread_map *threads;  in __test__sw_clock_freq()
 | 
| D | task-exit.c | 54 	struct perf_thread_map *threads;  in test__task_exit()
 | 
| D | keep-tracking.c | 73 	struct perf_thread_map *threads = NULL;  in test__keep_tracking()
 | 
| D | mmap-basic.c | 35 	struct perf_thread_map *threads;  in test__basic_mmap()
 | 
| D | mmap-thread-lookup.c | 143 	struct perf_thread_map *map;  in synth_process()
 | 
| /Linux-v5.4/tools/perf/lib/tests/ | 
| D | test-evsel.c | 52 	struct perf_thread_map *threads;  in test_stat_thread()84 	struct perf_thread_map *threads;  in test_stat_thread_enable()
 
 | 
| D | test-evlist.c | 74 	struct perf_thread_map *threads;  in test_stat_thread()125 	struct perf_thread_map *threads;  in test_stat_thread_enable()
 
 | 
| D | test-threadmap.c | 15 	struct perf_thread_map *threads;  in main()
 |