Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177447
b: refs/heads/master
c: ce11a60
h: refs/heads/master
i:
  177445: fcffd8f
  177443: dff1382
  177439: 3449617
v: v3
  • Loading branch information
Masami Hiramatsu authored and Ingo Molnar committed Dec 15, 2009
1 parent 156fa79 commit a992fd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e990a51264cb0c1400155ba72d56f5158ccf919
refs/heads/master: ce11a603ae40e0ad32aeb378cff81e3fdaec390d
7 changes: 6 additions & 1 deletion trunk/tools/perf/builtin-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,13 @@ int cmd_probe(int argc, const char **argv, const char *prefix __used)

argc = parse_options(argc, argv, options, probe_usage,
PARSE_OPT_STOP_AT_NON_OPTION);
if (argc > 0)
if (argc > 0) {
if (strcmp(argv[0], "-") == 0) {
pr_warning(" Error: '-' is not supported.\n");
usage_with_options(probe_usage, options);
}
parse_probe_event_argv(argc, argv);
}

if ((!session.nr_probe && !session.dellist && !session.list_events))
usage_with_options(probe_usage, options);
Expand Down

0 comments on commit a992fd8

Please sign in to comment.