Arnaldo Carvalho de Melo | 9d2f8e2 | 2012-10-06 15:43:20 -0300 | [diff] [blame] | 1 | #ifndef __PERF_MACHINE_H |
| 2 | #define __PERF_MACHINE_H |
| 3 | |
| 4 | #include <sys/types.h> |
| 5 | |
| 6 | struct thread; |
| 7 | struct machine; |
Arnaldo Carvalho de Melo | b0a7d1a | 2012-10-06 16:26:02 -0300 | [diff] [blame^] | 8 | union perf_event; |
Arnaldo Carvalho de Melo | 9d2f8e2 | 2012-10-06 15:43:20 -0300 | [diff] [blame] | 9 | |
| 10 | struct thread *machine__find_thread(struct machine *machine, pid_t pid); |
| 11 | |
Arnaldo Carvalho de Melo | b0a7d1a | 2012-10-06 16:26:02 -0300 | [diff] [blame^] | 12 | int machine__process_comm_event(struct machine *machine, union perf_event *event); |
| 13 | int machine__process_exit_event(struct machine *machine, union perf_event *event); |
| 14 | int machine__process_fork_event(struct machine *machine, union perf_event *event); |
| 15 | int machine__process_lost_event(struct machine *machine, union perf_event *event); |
| 16 | int machine__process_mmap_event(struct machine *machine, union perf_event *event); |
| 17 | int machine__process_event(struct machine *machine, union perf_event *event); |
| 18 | |
Arnaldo Carvalho de Melo | 9d2f8e2 | 2012-10-06 15:43:20 -0300 | [diff] [blame] | 19 | #endif /* __PERF_MACHINE_H */ |