blob: 192a962e3a0fbe15b294dc6f1f5e9e787f68e32e [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
Jason Baron5beeded2009-07-21 14:16:29 -04006struct option;
7
Ingo Molnara21ca2c2009-06-06 09:58:57 +02008extern int nr_counters;
Ingo Molnar52425192009-05-26 09:17:18 +02009
Ingo Molnara21ca2c2009-06-06 09:58:57 +020010extern struct perf_counter_attr attrs[MAX_COUNTERS];
Ingo Molnar52425192009-05-26 09:17:18 +020011
12extern char *event_name(int ctr);
Peter Zijlstra8f18aec2009-08-06 19:40:28 +020013extern char *__event_name(int type, u64 config);
Ingo Molnar8ad8db32009-05-26 11:10:09 +020014
15extern int parse_events(const struct option *opt, const char *str, int unset);
16
17#define EVENTS_HELP_MAX (128*1024)
18
Thomas Gleixner86847b62009-06-06 12:24:17 +020019extern void print_events(void);
Ingo Molnar8ad8db32009-05-26 11:10:09 +020020
Jason Baron5beeded2009-07-21 14:16:29 -040021extern char debugfs_path[];
22extern int valid_debugfs_mount(const char *debugfs);
23