diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /tools/perf/util/probe-event.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'tools/perf/util/probe-event.h')
-rw-r--r-- | tools/perf/util/probe-event.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/perf/util/probe-event.h b/tools/perf/util/probe-event.h new file mode 100644 index 000000000000..711287d4baea --- /dev/null +++ b/tools/perf/util/probe-event.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef _PROBE_EVENT_H | ||
2 | #define _PROBE_EVENT_H | ||
3 | |||
4 | #include <stdbool.h> | ||
5 | #include "probe-finder.h" | ||
6 | #include "strlist.h" | ||
7 | |||
8 | extern void parse_line_range_desc(const char *arg, struct line_range *lr); | ||
9 | extern void parse_perf_probe_event(const char *str, struct probe_point *pp, | ||
10 | bool *need_dwarf); | ||
11 | extern int synthesize_perf_probe_point(struct probe_point *pp); | ||
12 | extern int synthesize_perf_probe_event(struct probe_point *pp); | ||
13 | extern void parse_trace_kprobe_event(const char *str, struct probe_point *pp); | ||
14 | extern int synthesize_trace_kprobe_event(struct probe_point *pp); | ||
15 | extern void add_trace_kprobe_events(struct probe_point *probes, int nr_probes, | ||
16 | bool force_add); | ||
17 | extern void del_trace_kprobe_events(struct strlist *dellist); | ||
18 | extern void show_perf_probe_events(void); | ||
19 | extern void show_line_range(struct line_range *lr); | ||
20 | |||
21 | /* Maximum index number of event-name postfix */ | ||
22 | #define MAX_EVENT_INDEX 1024 | ||
23 | |||
24 | #endif /*_PROBE_EVENT_H */ | ||