diff options
Diffstat (limited to 'tools/perf/util/probe-event.c')
-rw-r--r-- | tools/perf/util/probe-event.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index aa04bf9c9ad7..9c6989ca2bea 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c | |||
@@ -47,7 +47,6 @@ | |||
47 | #include "session.h" | 47 | #include "session.h" |
48 | 48 | ||
49 | #define MAX_CMDLEN 256 | 49 | #define MAX_CMDLEN 256 |
50 | #define MAX_PROBE_ARGS 128 | ||
51 | #define PERFPROBE_GROUP "probe" | 50 | #define PERFPROBE_GROUP "probe" |
52 | 51 | ||
53 | bool probe_event_dry_run; /* Dry run flag */ | 52 | bool probe_event_dry_run; /* Dry run flag */ |
@@ -201,7 +200,7 @@ static int convert_to_perf_probe_point(struct probe_trace_point *tp, | |||
201 | return 0; | 200 | return 0; |
202 | } | 201 | } |
203 | 202 | ||
204 | #ifdef DWARF_SUPPORT | 203 | #ifdef HAVE_DWARF_SUPPORT |
205 | /* Open new debuginfo of given module */ | 204 | /* Open new debuginfo of given module */ |
206 | static struct debuginfo *open_debuginfo(const char *module) | 205 | static struct debuginfo *open_debuginfo(const char *module) |
207 | { | 206 | { |
@@ -630,7 +629,7 @@ int show_available_vars(struct perf_probe_event *pevs, int npevs, | |||
630 | return ret; | 629 | return ret; |
631 | } | 630 | } |
632 | 631 | ||
633 | #else /* !DWARF_SUPPORT */ | 632 | #else /* !HAVE_DWARF_SUPPORT */ |
634 | 633 | ||
635 | static int kprobe_convert_to_perf_probe(struct probe_trace_point *tp, | 634 | static int kprobe_convert_to_perf_probe(struct probe_trace_point *tp, |
636 | struct perf_probe_point *pp) | 635 | struct perf_probe_point *pp) |