diff options
Diffstat (limited to 'tools/perf/util/machine.h')
-rw-r--r-- | tools/perf/util/machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/machine.h b/tools/perf/util/machine.h index 77940680f1fc..e49ba01b7937 100644 --- a/tools/perf/util/machine.h +++ b/tools/perf/util/machine.h | |||
@@ -36,7 +36,7 @@ struct map *machine__kernel_map(struct machine *machine, enum map_type type) | |||
36 | return machine->vmlinux_maps[type]; | 36 | return machine->vmlinux_maps[type]; |
37 | } | 37 | } |
38 | 38 | ||
39 | struct thread *machine__find_thread(struct machine *machine, pid_t pid); | 39 | struct thread *machine__find_thread(struct machine *machine, pid_t tid); |
40 | 40 | ||
41 | int machine__process_comm_event(struct machine *machine, union perf_event *event); | 41 | int machine__process_comm_event(struct machine *machine, union perf_event *event); |
42 | int machine__process_exit_event(struct machine *machine, union perf_event *event); | 42 | int machine__process_exit_event(struct machine *machine, union perf_event *event); |
@@ -99,7 +99,7 @@ static inline bool machine__is_host(struct machine *machine) | |||
99 | return machine ? machine->pid == HOST_KERNEL_ID : false; | 99 | return machine ? machine->pid == HOST_KERNEL_ID : false; |
100 | } | 100 | } |
101 | 101 | ||
102 | struct thread *machine__findnew_thread(struct machine *machine, pid_t pid); | 102 | struct thread *machine__findnew_thread(struct machine *machine, pid_t tid); |
103 | 103 | ||
104 | size_t machine__fprintf(struct machine *machine, FILE *fp); | 104 | size_t machine__fprintf(struct machine *machine, FILE *fp); |
105 | 105 | ||