diff options
Diffstat (limited to 'tools/perf/builtin-probe.c')
-rw-r--r-- | tools/perf/builtin-probe.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index 64bc11a183bf..c1e54035e8cf 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include "util/debug.h" | 40 | #include "util/debug.h" |
41 | #include "util/debugfs.h" | 41 | #include "util/debugfs.h" |
42 | #include "util/parse-options.h" | 42 | #include "util/parse-options.h" |
43 | #include "util/parse-events.h" /* For debugfs_path */ | ||
44 | #include "util/probe-finder.h" | 43 | #include "util/probe-finder.h" |
45 | #include "util/probe-event.h" | 44 | #include "util/probe-event.h" |
46 | 45 | ||
@@ -205,9 +204,6 @@ int cmd_probe(int argc, const char **argv, const char *prefix __used) | |||
205 | !params.show_lines)) | 204 | !params.show_lines)) |
206 | usage_with_options(probe_usage, options); | 205 | usage_with_options(probe_usage, options); |
207 | 206 | ||
208 | if (debugfs_valid_mountpoint(debugfs_path) < 0) | ||
209 | die("Failed to find debugfs path."); | ||
210 | |||
211 | if (params.list_events) { | 207 | if (params.list_events) { |
212 | if (params.nevents != 0 || params.dellist) { | 208 | if (params.nevents != 0 || params.dellist) { |
213 | pr_err(" Error: Don't use --list with --add/--del.\n"); | 209 | pr_err(" Error: Don't use --list with --add/--del.\n"); |