perf parse-events: Populate error column for BPF/tracepoint events
[platform/kernel/linux-starfive.git] / tools / perf / util / parse-events.h
index b37e5ee..cabbe70 100644 (file)
@@ -169,18 +169,20 @@ int parse_events_name(struct list_head *list, const char *name);
 int parse_events_add_tracepoint(struct list_head *list, int *idx,
                                const char *sys, const char *event,
                                struct parse_events_error *error,
-                               struct list_head *head_config);
+                               struct list_head *head_config, void *loc);
 int parse_events_load_bpf(struct parse_events_state *parse_state,
                          struct list_head *list,
                          char *bpf_file_name,
                          bool source,
-                         struct list_head *head_config);
+                         struct list_head *head_config,
+                         void *loc);
 /* Provide this function for perf test */
 struct bpf_object;
 int parse_events_load_bpf_obj(struct parse_events_state *parse_state,
                              struct list_head *list,
                              struct bpf_object *obj,
-                             struct list_head *head_config);
+                             struct list_head *head_config,
+                             void *loc);
 int parse_events_add_numeric(struct parse_events_state *parse_state,
                             struct list_head *list,
                             u32 type, u64 config,