910aa74953e9c7a743b1d8200b7a16413513001c
6 #include "probe-event.h"
8 /* Cache of probe definitions */
9 struct probe_cache_entry
{
10 struct list_head node
;
11 struct perf_probe_event pev
;
13 struct strlist
*tevlist
;
18 struct list_head entries
;
21 #define PF_FL_UPROBE 1
24 int probe_file__open(int flag
);
25 int probe_file__open_both(int *kfd
, int *ufd
, int flag
);
26 struct strlist
*probe_file__get_namelist(int fd
);
27 struct strlist
*probe_file__get_rawlist(int fd
);
28 int probe_file__add_event(int fd
, struct probe_trace_event
*tev
);
29 int probe_file__del_events(int fd
, struct strfilter
*filter
);
30 int probe_file__get_events(int fd
, struct strfilter
*filter
,
31 struct strlist
*plist
);
32 int probe_file__del_strlist(int fd
, struct strlist
*namelist
);
34 struct probe_cache
*probe_cache__new(const char *target
);
35 int probe_cache__add_entry(struct probe_cache
*pcache
,
36 struct perf_probe_event
*pev
,
37 struct probe_trace_event
*tevs
, int ntevs
);
38 int probe_cache__commit(struct probe_cache
*pcache
);
39 void probe_cache__purge(struct probe_cache
*pcache
);
40 void probe_cache__delete(struct probe_cache
*pcache
);
41 struct probe_cache_entry
*probe_cache__find(struct probe_cache
*pcache
,
42 struct perf_probe_event
*pev
);
43 struct probe_cache_entry
*probe_cache__find_by_name(struct probe_cache
*pcache
,
44 const char *group
, const char *event
);
This page took 0.042386 seconds and 5 git commands to generate.