diff options
Diffstat (limited to 'tools/perf/util/machine.h')
-rw-r--r-- | tools/perf/util/machine.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/perf/util/machine.h b/tools/perf/util/machine.h index f77e91e483dc..c8c74a119398 100644 --- a/tools/perf/util/machine.h +++ b/tools/perf/util/machine.h | |||
@@ -41,7 +41,8 @@ struct map *machine__kernel_map(struct machine *machine, enum map_type type) | |||
41 | return machine->vmlinux_maps[type]; | 41 | return machine->vmlinux_maps[type]; |
42 | } | 42 | } |
43 | 43 | ||
44 | struct thread *machine__find_thread(struct machine *machine, pid_t tid); | 44 | struct thread *machine__find_thread(struct machine *machine, pid_t pid, |
45 | pid_t tid); | ||
45 | 46 | ||
46 | int machine__process_comm_event(struct machine *machine, union perf_event *event, | 47 | int machine__process_comm_event(struct machine *machine, union perf_event *event, |
47 | struct perf_sample *sample); | 48 | struct perf_sample *sample); |
@@ -91,12 +92,10 @@ void machine__delete_dead_threads(struct machine *machine); | |||
91 | void machine__delete_threads(struct machine *machine); | 92 | void machine__delete_threads(struct machine *machine); |
92 | void machine__delete(struct machine *machine); | 93 | void machine__delete(struct machine *machine); |
93 | 94 | ||
94 | struct branch_info *machine__resolve_bstack(struct machine *machine, | 95 | struct branch_info *sample__resolve_bstack(struct perf_sample *sample, |
95 | struct thread *thread, | 96 | struct addr_location *al); |
96 | struct branch_stack *bs); | 97 | struct mem_info *sample__resolve_mem(struct perf_sample *sample, |
97 | struct mem_info *machine__resolve_mem(struct machine *machine, | 98 | struct addr_location *al); |
98 | struct thread *thread, | ||
99 | struct perf_sample *sample, u8 cpumode); | ||
100 | int machine__resolve_callchain(struct machine *machine, | 99 | int machine__resolve_callchain(struct machine *machine, |
101 | struct perf_evsel *evsel, | 100 | struct perf_evsel *evsel, |
102 | struct thread *thread, | 101 | struct thread *thread, |