diff options
Diffstat (limited to 'Documentation/perf_counter/perf.c')
-rw-r--r-- | Documentation/perf_counter/perf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c index 161824f1241..4eb72593370 100644 --- a/Documentation/perf_counter/perf.c +++ b/Documentation/perf_counter/perf.c @@ -263,6 +263,7 @@ static void handle_internal_command(int argc, const char **argv) { "report", cmd_report, 0 }, { "stat", cmd_stat, 0 }, { "top", cmd_top, 0 }, + { "annotate", cmd_annotate, 0 }, { "version", cmd_version, 0 }, }; int i; @@ -402,9 +403,11 @@ int main(int argc, const char **argv) while (1) { static int done_help = 0; static int was_alias = 0; + was_alias = run_argv(&argc, &argv); if (errno != ENOENT) break; + if (was_alias) { fprintf(stderr, "Expansion of alias '%s' failed; " "'%s' is not a perf-command\n", |