blob: df152f1768bec496c738717fcb124540ff0fc9f4 [file] [log] [blame]
Arnaldo Carvalho de Melo9d2f8e22012-10-06 15:43:20 -03001#ifndef __PERF_MACHINE_H
2#define __PERF_MACHINE_H
3
4#include <sys/types.h>
5
6struct thread;
7struct machine;
Arnaldo Carvalho de Melob0a7d1a2012-10-06 16:26:02 -03008union perf_event;
Arnaldo Carvalho de Melo9d2f8e22012-10-06 15:43:20 -03009
10struct thread *machine__find_thread(struct machine *machine, pid_t pid);
11
Arnaldo Carvalho de Melob0a7d1a2012-10-06 16:26:02 -030012int machine__process_comm_event(struct machine *machine, union perf_event *event);
13int machine__process_exit_event(struct machine *machine, union perf_event *event);
14int machine__process_fork_event(struct machine *machine, union perf_event *event);
15int machine__process_lost_event(struct machine *machine, union perf_event *event);
16int machine__process_mmap_event(struct machine *machine, union perf_event *event);
17int machine__process_event(struct machine *machine, union perf_event *event);
18
Arnaldo Carvalho de Melo9d2f8e22012-10-06 15:43:20 -030019#endif /* __PERF_MACHINE_H */