percpu: make alloc_percpu() handle array types
[linux/fpc-iii.git] / tools / perf / builtin-list.c
blobd88c6961274cf2e961eec9d1b420dc0621965a6a
1 /*
2 * builtin-list.c
4 * Builtin list command: list all event types
6 * Copyright (C) 2009, Thomas Gleixner <tglx@linutronix.de>
7 * Copyright (C) 2008-2009, Red Hat Inc, Ingo Molnar <mingo@redhat.com>
8 */
9 #include "builtin.h"
11 #include "perf.h"
13 #include "util/parse-events.h"
14 #include "util/cache.h"
16 int cmd_list(int argc __used, const char **argv __used, const char *prefix __used)
18 setup_pager();
19 print_events();
20 return 0;