Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155723
b: refs/heads/master
c: a054123
h: refs/heads/master
i:
  155721: 3a645b6
  155719: 1307239
v: v3
  • Loading branch information
Anton Blanchard authored and Peter Zijlstra committed Jul 22, 2009
1 parent b476e57 commit d5393a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 7f453c24b95a085fc7bd35d53b33abc4dc5a048b
refs/heads/master: a0541234f89c93f313961ce7b28676e11488a5f0
3 changes: 2 additions & 1 deletion trunk/tools/perf/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,8 @@ int cmd_record(int argc, const char **argv, const char *prefix __used)
{
int counter;

argc = parse_options(argc, argv, options, record_usage, 0);
argc = parse_options(argc, argv, options, record_usage,
PARSE_OPT_STOP_AT_NON_OPTION);
if (!argc && target_pid == -1 && !system_wide)
usage_with_options(record_usage, options);

Expand Down
3 changes: 2 additions & 1 deletion trunk/tools/perf/builtin-stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,8 @@ int cmd_stat(int argc, const char **argv, const char *prefix __used)
{
int status;

argc = parse_options(argc, argv, options, stat_usage, 0);
argc = parse_options(argc, argv, options, stat_usage,
PARSE_OPT_STOP_AT_NON_OPTION);
if (!argc)
usage_with_options(stat_usage, options);
if (run_count <= 0 || run_count > MAX_RUN)
Expand Down

0 comments on commit d5393a8

Please sign in to comment.