summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/machine.h
blob: df152f1768bec496c738717fcb124540ff0fc9f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __PERF_MACHINE_H
#define __PERF_MACHINE_H

#include <sys/types.h>

struct thread;
struct machine;
union perf_event;

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

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);

#endif /* __PERF_MACHINE_H */