]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - tools/perf/util/probe-file.h
Merge branches 'pm-cpu', 'pm-cpuidle' and 'pm-domains'
[mirror_ubuntu-zesty-kernel.git] / tools / perf / util / probe-file.h
1 #ifndef __PROBE_FILE_H
2 #define __PROBE_FILE_H
3
4 #include "strlist.h"
5 #include "strfilter.h"
6 #include "probe-event.h"
7
8 #define PF_FL_UPROBE 1
9 #define PF_FL_RW 2
10
11 int probe_file__open(int flag);
12 int probe_file__open_both(int *kfd, int *ufd, int flag);
13 struct strlist *probe_file__get_namelist(int fd);
14 struct strlist *probe_file__get_rawlist(int fd);
15 int probe_file__add_event(int fd, struct probe_trace_event *tev);
16 int probe_file__del_events(int fd, struct strfilter *filter);
17
18 #endif