blob: 18ac9cf51c3433438eb3036d340f34e5975161bc [file] [log] [blame]
Masami Hiramatsu92f6c722015-07-15 18:14:07 +09001#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
11int probe_file__open(int flag);
12int probe_file__open_both(int *kfd, int *ufd, int flag);
13struct strlist *probe_file__get_namelist(int fd);
14struct strlist *probe_file__get_rawlist(int fd);
15int probe_file__add_event(int fd, struct probe_trace_event *tev);
16int probe_file__del_events(int fd, struct strfilter *filter);
Namhyung Kime607f142015-09-04 21:16:03 +090017int probe_file__get_events(int fd, struct strfilter *filter,
18 struct strlist *plist);
19int probe_file__del_strlist(int fd, struct strlist *namelist);
20
Masami Hiramatsu92f6c722015-07-15 18:14:07 +090021
22#endif