diff options
Diffstat (limited to 'tools/perf/util/parse-events.h')
-rw-r--r-- | tools/perf/util/parse-events.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/perf/util/parse-events.h b/tools/perf/util/parse-events.h index 8a4859315fd9..f1cb4c4b3c70 100644 --- a/tools/perf/util/parse-events.h +++ b/tools/perf/util/parse-events.h | |||
@@ -23,6 +23,7 @@ struct tracepoint_path { | |||
23 | }; | 23 | }; |
24 | 24 | ||
25 | extern struct tracepoint_path *tracepoint_id_to_path(u64 config); | 25 | extern struct tracepoint_path *tracepoint_id_to_path(u64 config); |
26 | extern struct tracepoint_path *tracepoint_name_to_path(const char *name); | ||
26 | extern bool have_tracepoints(struct list_head *evlist); | 27 | extern bool have_tracepoints(struct list_head *evlist); |
27 | 28 | ||
28 | const char *event_type(int type); | 29 | const char *event_type(int type); |
@@ -84,16 +85,16 @@ void parse_events__free_terms(struct list_head *terms); | |||
84 | int parse_events__modifier_event(struct list_head *list, char *str, bool add); | 85 | int parse_events__modifier_event(struct list_head *list, char *str, bool add); |
85 | int parse_events__modifier_group(struct list_head *list, char *event_mod); | 86 | int parse_events__modifier_group(struct list_head *list, char *event_mod); |
86 | int parse_events_name(struct list_head *list, char *name); | 87 | int parse_events_name(struct list_head *list, char *name); |
87 | int parse_events_add_tracepoint(struct list_head **list, int *idx, | 88 | int parse_events_add_tracepoint(struct list_head *list, int *idx, |
88 | char *sys, char *event); | 89 | char *sys, char *event); |
89 | int parse_events_add_numeric(struct list_head **list, int *idx, | 90 | int parse_events_add_numeric(struct list_head *list, int *idx, |
90 | u32 type, u64 config, | 91 | u32 type, u64 config, |
91 | struct list_head *head_config); | 92 | struct list_head *head_config); |
92 | int parse_events_add_cache(struct list_head **list, int *idx, | 93 | int parse_events_add_cache(struct list_head *list, int *idx, |
93 | char *type, char *op_result1, char *op_result2); | 94 | char *type, char *op_result1, char *op_result2); |
94 | int parse_events_add_breakpoint(struct list_head **list, int *idx, | 95 | int parse_events_add_breakpoint(struct list_head *list, int *idx, |
95 | void *ptr, char *type); | 96 | void *ptr, char *type); |
96 | int parse_events_add_pmu(struct list_head **list, int *idx, | 97 | int parse_events_add_pmu(struct list_head *list, int *idx, |
97 | char *pmu , struct list_head *head_config); | 98 | char *pmu , struct list_head *head_config); |
98 | void parse_events__set_leader(char *name, struct list_head *list); | 99 | void parse_events__set_leader(char *name, struct list_head *list); |
99 | void parse_events_update_lists(struct list_head *list_event, | 100 | void parse_events_update_lists(struct list_head *list_event, |