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); |
Peter Zijlstra | 8f18aec | 2009-08-06 19:40:28 +0200 | [diff] [blame] | 13 | extern char *__event_name(int type, u64 config); |
Ingo Molnar | 8ad8db3 | 2009-05-26 11:10:09 +0200 | [diff] [blame] | 14 | |
| 15 | extern int parse_events(const struct option *opt, const char *str, int unset); |
| 16 | |
| 17 | #define EVENTS_HELP_MAX (128*1024) |
| 18 | |
Thomas Gleixner | 86847b6 | 2009-06-06 12:24:17 +0200 | [diff] [blame] | 19 | extern void print_events(void); |
Ingo Molnar | 8ad8db3 | 2009-05-26 11:10:09 +0200 | [diff] [blame] | 20 | |
Jason Baron | 5beeded | 2009-07-21 14:16:29 -0400 | [diff] [blame] | 21 | extern char debugfs_path[]; |
| 22 | extern int valid_debugfs_mount(const char *debugfs); |
| 23 | |