diff options
Diffstat (limited to 'tools/perf/util/probe-finder.h')
-rw-r--r-- | tools/perf/util/probe-finder.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/probe-finder.h b/tools/perf/util/probe-finder.h index 310ce897229c..66f1980e3855 100644 --- a/tools/perf/util/probe-finder.h +++ b/tools/perf/util/probe-finder.h | |||
@@ -18,7 +18,8 @@ static inline int is_c_varname(const char *name) | |||
18 | #ifdef DWARF_SUPPORT | 18 | #ifdef DWARF_SUPPORT |
19 | /* Find kprobe_trace_events specified by perf_probe_event from debuginfo */ | 19 | /* Find kprobe_trace_events specified by perf_probe_event from debuginfo */ |
20 | extern int find_kprobe_trace_events(int fd, struct perf_probe_event *pev, | 20 | extern int find_kprobe_trace_events(int fd, struct perf_probe_event *pev, |
21 | struct kprobe_trace_event **tevs); | 21 | struct kprobe_trace_event **tevs, |
22 | int max_tevs); | ||
22 | 23 | ||
23 | /* Find a perf_probe_point from debuginfo */ | 24 | /* Find a perf_probe_point from debuginfo */ |
24 | extern int find_perf_probe_point(int fd, unsigned long addr, | 25 | extern int find_perf_probe_point(int fd, unsigned long addr, |
@@ -32,7 +33,8 @@ extern int find_line_range(int fd, struct line_range *lr); | |||
32 | struct probe_finder { | 33 | struct probe_finder { |
33 | struct perf_probe_event *pev; /* Target probe event */ | 34 | struct perf_probe_event *pev; /* Target probe event */ |
34 | struct kprobe_trace_event *tevs; /* Result trace events */ | 35 | struct kprobe_trace_event *tevs; /* Result trace events */ |
35 | int ntevs; /* number of trace events */ | 36 | int ntevs; /* Number of trace events */ |
37 | int max_tevs; /* Max number of trace events */ | ||
36 | 38 | ||
37 | /* For function searching */ | 39 | /* For function searching */ |
38 | int lno; /* Line number */ | 40 | int lno; /* Line number */ |