diff options
Diffstat (limited to 'tools/perf/util/parse-events.h')
| -rw-r--r-- | tools/perf/util/parse-events.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/util/parse-events.h b/tools/perf/util/parse-events.h index 839230ceb18b..b7af80b8bdda 100644 --- a/tools/perf/util/parse-events.h +++ b/tools/perf/util/parse-events.h | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | #include <linux/list.h> | 7 | #include <linux/list.h> |
| 8 | #include <stdbool.h> | 8 | #include <stdbool.h> |
| 9 | #include "types.h" | 9 | #include "types.h" |
| 10 | #include "../../../include/uapi/linux/perf_event.h" | 10 | #include <linux/perf_event.h> |
| 11 | #include "types.h" | 11 | #include "types.h" |
| 12 | 12 | ||
| 13 | struct list_head; | 13 | struct list_head; |
| @@ -76,6 +76,8 @@ int parse_events__term_num(struct parse_events__term **_term, | |||
| 76 | int type_term, char *config, u64 num); | 76 | int type_term, char *config, u64 num); |
| 77 | int parse_events__term_str(struct parse_events__term **_term, | 77 | int parse_events__term_str(struct parse_events__term **_term, |
| 78 | int type_term, char *config, char *str); | 78 | int type_term, char *config, char *str); |
| 79 | int parse_events__term_sym_hw(struct parse_events__term **term, | ||
| 80 | char *config, unsigned idx); | ||
| 79 | int parse_events__term_clone(struct parse_events__term **new, | 81 | int parse_events__term_clone(struct parse_events__term **new, |
| 80 | struct parse_events__term *term); | 82 | struct parse_events__term *term); |
| 81 | void parse_events__free_terms(struct list_head *terms); | 83 | void parse_events__free_terms(struct list_head *terms); |
| @@ -97,7 +99,6 @@ void parse_events__set_leader(char *name, struct list_head *list); | |||
| 97 | void parse_events_update_lists(struct list_head *list_event, | 99 | void parse_events_update_lists(struct list_head *list_event, |
| 98 | struct list_head *list_all); | 100 | struct list_head *list_all); |
| 99 | void parse_events_error(void *data, void *scanner, char const *msg); | 101 | void parse_events_error(void *data, void *scanner, char const *msg); |
| 100 | int parse_events__test(void); | ||
| 101 | 102 | ||
| 102 | void print_events(const char *event_glob, bool name_only); | 103 | void print_events(const char *event_glob, bool name_only); |
| 103 | void print_events_type(u8 type); | 104 | void print_events_type(u8 type); |
