machine.h 723 字节
Newer Older
1 2 3 4 5 6 7
#ifndef __PERF_MACHINE_H
#define __PERF_MACHINE_H

#include <sys/types.h>

struct thread;
struct machine;
8
union perf_event;
9 10 11

struct thread *machine__find_thread(struct machine *machine, pid_t pid);

12 13 14 15 16 17 18
int machine__process_comm_event(struct machine *machine, union perf_event *event);
int machine__process_exit_event(struct machine *machine, union perf_event *event);
int machine__process_fork_event(struct machine *machine, union perf_event *event);
int machine__process_lost_event(struct machine *machine, union perf_event *event);
int machine__process_mmap_event(struct machine *machine, union perf_event *event);
int machine__process_event(struct machine *machine, union perf_event *event);

19
#endif /* __PERF_MACHINE_H */