aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-finder.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-04-27 05:16:54 -0400
committerIngo Molnar <mingo@elte.hu>2010-04-27 05:16:54 -0400
commit462b04e28a7ec1339c892117c3f20a40e55d0e83 (patch)
tree5ea38f3227c761fa936b293afa52c26a660bd6c7 /tools/perf/util/probe-finder.h
parentcfadf9d4ac4be940595ab73d3def24c23c8b875f (diff)
parentf93830fbb06b67848c762f2177c06cc3cbb97deb (diff)
Merge branch 'perf' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/core
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 */