Ingo Molnar | 8ad8db3 | 2009-05-26 11:10:09 +0200 | [diff] [blame] | 1 | |
Ingo Molnar | 5242519 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Parse symbolic events/counts passed in as options: |
| 4 | */ |
| 5 | |
Ingo Molnar | a21ca2c | 2009-06-06 09:58:57 +0200 | [diff] [blame] | 6 | extern int nr_counters; |
Ingo Molnar | 5242519 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 7 | |
Ingo Molnar | a21ca2c | 2009-06-06 09:58:57 +0200 | [diff] [blame] | 8 | extern struct perf_counter_attr attrs[MAX_COUNTERS]; |
Ingo Molnar | 5242519 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 9 | |
| 10 | extern char *event_name(int ctr); |
Ingo Molnar | 8ad8db3 | 2009-05-26 11:10:09 +0200 | [diff] [blame] | 11 | |
| 12 | extern int parse_events(const struct option *opt, const char *str, int unset); |
| 13 | |
| 14 | #define EVENTS_HELP_MAX (128*1024) |
| 15 | |
Thomas Gleixner | 86847b6 | 2009-06-06 12:24:17 +0200 | [diff] [blame] | 16 | extern void print_events(void); |
Ingo Molnar | 8ad8db3 | 2009-05-26 11:10:09 +0200 | [diff] [blame] | 17 | |