blob: e3d552908e60015517316d2d91cba6324c8fbc2f [file] [log] [blame]
Ingo Molnar8ad8db32009-05-26 11:10:09 +02001
Ingo Molnar52425192009-05-26 09:17:18 +02002/*
3 * Parse symbolic events/counts passed in as options:
4 */
5
Ingo Molnara21ca2c2009-06-06 09:58:57 +02006extern int nr_counters;
Ingo Molnar52425192009-05-26 09:17:18 +02007
Ingo Molnara21ca2c2009-06-06 09:58:57 +02008extern struct perf_counter_attr attrs[MAX_COUNTERS];
Ingo Molnar52425192009-05-26 09:17:18 +02009
10extern char *event_name(int ctr);
Ingo Molnar8ad8db32009-05-26 11:10:09 +020011
12extern int parse_events(const struct option *opt, const char *str, int unset);
13
14#define EVENTS_HELP_MAX (128*1024)
15
Thomas Gleixner86847b62009-06-06 12:24:17 +020016extern void print_events(void);
Ingo Molnar8ad8db32009-05-26 11:10:09 +020017