summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.h
blob: e3d552908e60015517316d2d91cba6324c8fbc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

/*
 * Parse symbolic events/counts passed in as options:
 */

extern int			nr_counters;

extern struct perf_counter_attr attrs[MAX_COUNTERS];

extern char *event_name(int ctr);

extern int parse_events(const struct option *opt, const char *str, int unset);

#define EVENTS_HELP_MAX (128*1024)

extern void print_events(void);