blob: 1ea5d09b6eb14221db27cebdc9091f03c29bf53b [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);
Ingo Molnar8ad8db32009-05-26 11:10:09 +020013
14extern int parse_events(const struct option *opt, const char *str, int unset);
15
16#define EVENTS_HELP_MAX (128*1024)
17
Thomas Gleixner86847b62009-06-06 12:24:17 +020018extern void print_events(void);
Ingo Molnar8ad8db32009-05-26 11:10:09 +020019
Jason Baron5beeded2009-07-21 14:16:29 -040020extern char debugfs_path[];
21extern int valid_debugfs_mount(const char *debugfs);
22