aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-finder.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/probe-finder.h')
-rw-r--r--tools/perf/util/probe-finder.h6
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 */
20extern int find_kprobe_trace_events(int fd, struct perf_probe_event *pev, 20extern 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 */
24extern int find_perf_probe_point(int fd, unsigned long addr, 25extern 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);
32struct probe_finder { 33struct 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 */