parse-events.h 344 字节
Newer Older
1

2 3 4 5
/*
 * Parse symbolic events/counts passed in as options:
 */

6
extern int			nr_counters;
7

8
extern struct perf_counter_attr attrs[MAX_COUNTERS];
9 10

extern char *event_name(int ctr);
11 12 13 14 15 16 17

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

#define EVENTS_HELP_MAX (128*1024)

extern void create_events_help(char *help_msg);