perf_counter tools: separate kerneltop into 'perf top' and 'perf stat'
Lets use the Git framework of built-in commands. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
6f06ccbc86
commit
ddcacfa0fe
7 changed files with 601 additions and 1610 deletions
|
@ -249,6 +249,7 @@ static void handle_internal_command(int argc, const char **argv)
|
|||
const char *cmd = argv[0];
|
||||
static struct cmd_struct commands[] = {
|
||||
{ "top", cmd_top, 0 },
|
||||
{ "stat", cmd_stat, 0 },
|
||||
};
|
||||
int i;
|
||||
static const char ext[] = STRIP_EXTENSION;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue