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 | |
Jason Baron | 5beeded | 2009-07-21 14:16:29 -0400 | [diff] [blame^] | 6 | struct option; |
| 7 | |
Ingo Molnar | a21ca2c | 2009-06-06 09:58:57 +0200 | [diff] [blame] | 8 | extern int nr_counters; |
Ingo Molnar | 5242519 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 9 | |
Ingo Molnar | a21ca2c | 2009-06-06 09:58:57 +0200 | [diff] [blame] | 10 | extern struct perf_counter_attr attrs[MAX_COUNTERS]; |
Ingo Molnar | 5242519 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 11 | |
| 12 | extern char *event_name(int ctr); |
Ingo Molnar | 8ad8db3 | 2009-05-26 11:10:09 +0200 | [diff] [blame] | 13 | |
| 14 | extern int parse_events(const struct option *opt, const char *str, int unset); |
| 15 | |
| 16 | #define EVENTS_HELP_MAX (128*1024) |
| 17 | |
Thomas Gleixner | 86847b6 | 2009-06-06 12:24:17 +0200 | [diff] [blame] | 18 | extern void print_events(void); |
Ingo Molnar | 8ad8db3 | 2009-05-26 11:10:09 +0200 | [diff] [blame] | 19 | |
Jason Baron | 5beeded | 2009-07-21 14:16:29 -0400 | [diff] [blame^] | 20 | extern char debugfs_path[]; |
| 21 | extern int valid_debugfs_mount(const char *debugfs); |
| 22 | |