/Linux-v4.19/tools/perf/util/ |
D | thread_map.h | 14 struct thread_map { struct 23 struct thread_map *thread_map__new_dummy(void); argument 24 struct thread_map *thread_map__new_by_pid(pid_t pid); 25 struct thread_map *thread_map__new_by_tid(pid_t tid); 26 struct thread_map *thread_map__new_by_uid(uid_t uid); 27 struct thread_map *thread_map__new_all_cpus(void); 28 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 29 struct thread_map *thread_map__new_event(struct thread_map_event *event); 31 struct thread_map *thread_map__get(struct thread_map *map); 32 void thread_map__put(struct thread_map *map); [all …]
|
D | thread_map.c | 30 static void thread_map__reset(struct thread_map *map, int start, int nr) in thread_map__reset() 38 static struct thread_map *thread_map__realloc(struct thread_map *map, int nr) in thread_map__realloc() 55 struct thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() 57 struct thread_map *threads; in thread_map__new_by_pid() 83 struct thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid() 85 struct thread_map *threads = thread_map__alloc(1); in thread_map__new_by_tid() 96 static struct thread_map *__thread_map__new_all_cpus(uid_t uid) in __thread_map__new_all_cpus() 102 struct thread_map *threads = thread_map__alloc(max_threads); in __thread_map__new_all_cpus() 142 struct thread_map *tmp; in __thread_map__new_all_cpus() 182 struct thread_map *thread_map__new_all_cpus(void) in thread_map__new_all_cpus() [all …]
|
D | evlist.h | 20 struct thread_map; 47 struct thread_map *threads; 65 struct thread_map *threads); 182 struct thread_map *threads);
|
D | evsel.h | 114 struct thread_map *threads; 172 struct thread_map; 280 struct thread_map *threads); 282 struct thread_map *threads);
|
D | tool.h | 69 thread_map, member
|
D | event.h | 647 struct thread_map_event thread_map; member 659 struct thread_map; 670 struct thread_map *threads, 675 struct thread_map *threads,
|
D | python-ext-sources | 20 util/thread_map.c
|
D | machine.h | 248 struct target *target, struct thread_map *threads, 254 struct thread_map *threads, bool data_mmap, in machine__synthesize_threads()
|
D | event.c | 611 struct thread_map *threads, in perf_event__synthesize_thread_map() 974 struct thread_map *threads, in perf_event__synthesize_thread_map2() 981 size = sizeof(event->thread_map); in perf_event__synthesize_thread_map2() 982 size += threads->nr * sizeof(event->thread_map.entries[0]); in perf_event__synthesize_thread_map2() 990 event->thread_map.nr = threads->nr; in perf_event__synthesize_thread_map2() 993 struct thread_map_event_entry *entry = &event->thread_map.entries[i]; in perf_event__synthesize_thread_map2() 1363 struct thread_map *threads = thread_map__new_event(&event->thread_map); in perf_event__fprintf_thread_map()
|
D | evlist.c | 41 struct thread_map *threads) in perf_evlist__init() 1025 const struct thread_map *threads = evlist->threads; in perf_evlist__mmap_ex() 1070 struct thread_map *threads; in perf_evlist__create_maps() 1116 struct thread_map *threads) in perf_evlist__set_maps() 1370 struct thread_map *threads; in perf_evlist__create_syswide_maps()
|
D | session.c | 414 if (tool->thread_map == NULL) in perf_tool__fill_defaults() 415 tool->thread_map = process_event_thread_map_stub; in perf_tool__fill_defaults() 712 event->thread_map.nr = bswap_64(event->thread_map.nr); in perf_event__thread_map_swap() 714 for (i = 0; i < event->thread_map.nr; i++) in perf_event__thread_map_swap() 715 event->thread_map.entries[i].pid = bswap_64(event->thread_map.entries[i].pid); in perf_event__thread_map_swap() 1394 return tool->thread_map(tool, event, session); in perf_session__process_user_event()
|
D | python.c | 607 struct thread_map *threads; 799 struct thread_map *threads = NULL; in pyrf_evsel__open() 868 struct thread_map *threads; in pyrf_evlist__init()
|
/Linux-v4.19/tools/perf/tests/ |
D | thread-map.c | 15 struct thread_map *map; in test__thread_map() 58 struct thread_map_event *map = &event->thread_map; in process_event() 59 struct thread_map *threads; in process_event() 65 threads = thread_map__new_event(&event->thread_map); in process_event() 82 struct thread_map *threads; in test__thread_map_synthesize() 101 struct thread_map *threads; in test__thread_map_remove()
|
D | event-times.c | 60 struct thread_map *threads; in attach__current_disabled() 86 struct thread_map *threads; in attach__current_enabled()
|
D | openat-syscall.c | 19 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__openat_syscall_event()
|
D | task-exit.c | 49 struct thread_map *threads; in test__task_exit()
|
D | openat-syscall-all-cpus.c | 27 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__openat_syscall_event_on_all_cpus()
|
D | sw-clock.c | 41 struct thread_map *threads; in __test__sw_clock_freq()
|
D | keep-tracking.c | 68 struct thread_map *threads = NULL; in test__keep_tracking()
|
D | mmap-basic.c | 30 struct thread_map *threads; in test__basic_mmap()
|
D | mmap-thread-lookup.c | 140 struct thread_map *map; in synth_process()
|
/Linux-v4.19/tools/perf/python/ |
D | twatch.py | 20 threads = perf.thread_map(thread)
|
D | tracepoint.py | 20 threads = perf.thread_map(-1)
|
/Linux-v4.19/tools/perf/ |
D | builtin-record.c | 621 struct thread_map *thread_map; in record__synthesize_workload() local 626 thread_map = thread_map__new_by_tid(rec->evlist->workload.pid); in record__synthesize_workload() 627 if (thread_map == NULL) in record__synthesize_workload() 630 err = perf_event__synthesize_thread_map(&rec->tool, thread_map, in record__synthesize_workload() 635 thread_map__put(thread_map); in record__synthesize_workload()
|
/Linux-v4.19/tools/perf/arch/x86/tests/ |
D | perf-time-to-tsc.c | 52 struct thread_map *threads = NULL; in test__perf_time_to_tsc()
|