summaryrefslogtreecommitdiff
path: root/tools/perf/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin.h')
-rw-r--r--tools/perf/builtin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/builtin.h b/tools/perf/builtin.h
index f2ab5bae2150..f4375deabfa3 100644
--- a/tools/perf/builtin.h
+++ b/tools/perf/builtin.h
@@ -2,8 +2,10 @@
#ifndef BUILTIN_H
#define BUILTIN_H
+struct cmdnames;
+
void list_common_cmds_help(void);
-const char *help_unknown_cmd(const char *cmd);
+const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds);
int cmd_annotate(int argc, const char **argv);
int cmd_bench(int argc, const char **argv);