summaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/builtin-list.c
blob: fe60e37c96efc85e60e83d59d1cdb7127fe198c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * builtin-list.c
 *
 * Builtin list command: list all event types
 *
 * Copyright (C) 2009, Thomas Gleixner <tglx@linutronix.de>
 * Copyright (C) 2008-2009, Red Hat Inc, Ingo Molnar <mingo@redhat.com>
 */
#include "builtin.h"

#include "perf.h"

#include "util/parse-options.h"
#include "util/parse-events.h"

int cmd_list(int argc, const char **argv, const char *prefix)
{
	print_events();
	return 0;
}