perf_counter tools: add 'perf record' command
Move perf-record.c into the perf suite of commands.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c
index ff8658f..e849dd6 100644
--- a/Documentation/perf_counter/perf.c
+++ b/Documentation/perf_counter/perf.c
@@ -248,8 +248,9 @@
{
const char *cmd = argv[0];
static struct cmd_struct commands[] = {
- { "top", cmd_top, 0 },
+ { "record", cmd_record, 0 },
{ "stat", cmd_stat, 0 },
+ { "top", cmd_top, 0 },
};
int i;
static const char ext[] = STRIP_EXTENSION;