Linux 2.6.31.8
[linux/fpc-iii.git] / tools / perf / util / parse-events.h
blob192a962e3a0fbe15b294dc6f1f5e9e787f68e32e
2 /*
3 * Parse symbolic events/counts passed in as options:
4 */
6 struct option;
8 extern int nr_counters;
10 extern struct perf_counter_attr attrs[MAX_COUNTERS];
12 extern char *event_name(int ctr);
13 extern char *__event_name(int type, u64 config);
15 extern int parse_events(const struct option *opt, const char *str, int unset);
17 #define EVENTS_HELP_MAX (128*1024)
19 extern void print_events(void);
21 extern char debugfs_path[];
22 extern int valid_debugfs_mount(const char *debugfs);