Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178063
b: refs/heads/master
c: 96c9661
h: refs/heads/master
i:
  178061: 9c91402
  178059: 0f4a7cf
  178055: 1584eed
  178047: cffdf18
v: v3
  • Loading branch information
Masami Hiramatsu authored and Ingo Molnar committed Dec 17, 2009
1 parent 211c6eb commit c7b79b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27f3b24de03fc7cec6f2406f8525ad18086c2121
refs/heads/master: 96c96612e952f63cc0055db9df7d8b5b1ada02be
4 changes: 4 additions & 0 deletions trunk/tools/perf/builtin-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include "util/strlist.h"
#include "util/event.h"
#include "util/debug.h"
#include "util/debugfs.h"
#include "util/symbol.h"
#include "util/thread.h"
#include "util/session.h"
Expand Down Expand Up @@ -205,6 +206,9 @@ int cmd_probe(int argc, const char **argv, const char *prefix __used)
if ((!session.nr_probe && !session.dellist && !session.list_events))
usage_with_options(probe_usage, options);

if (debugfs_valid_mountpoint(debugfs_path) < 0)
die("Failed to find debugfs path.");

if (session.list_events) {
if (session.nr_probe != 0 || session.dellist) {
pr_warning(" Error: Don't use --list with"
Expand Down

0 comments on commit c7b79b9

Please sign in to comment.