diff options
Diffstat (limited to 'tools/perf/util/db-export.h')
-rw-r--r-- | tools/perf/util/db-export.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/util/db-export.h b/tools/perf/util/db-export.h index b3643e8e5750..e4baa45ead70 100644 --- a/tools/perf/util/db-export.h +++ b/tools/perf/util/db-export.h | |||
@@ -54,6 +54,8 @@ struct db_export { | |||
54 | struct machine *machine); | 54 | struct machine *machine); |
55 | int (*export_symbol)(struct db_export *dbe, struct symbol *sym, | 55 | int (*export_symbol)(struct db_export *dbe, struct symbol *sym, |
56 | struct dso *dso); | 56 | struct dso *dso); |
57 | int (*export_branch_type)(struct db_export *dbe, u32 branch_type, | ||
58 | const char *name); | ||
57 | int (*export_sample)(struct db_export *dbe, struct export_sample *es); | 59 | int (*export_sample)(struct db_export *dbe, struct export_sample *es); |
58 | u64 evsel_last_db_id; | 60 | u64 evsel_last_db_id; |
59 | u64 machine_last_db_id; | 61 | u64 machine_last_db_id; |
@@ -79,8 +81,12 @@ int db_export__dso(struct db_export *dbe, struct dso *dso, | |||
79 | struct machine *machine); | 81 | struct machine *machine); |
80 | int db_export__symbol(struct db_export *dbe, struct symbol *sym, | 82 | int db_export__symbol(struct db_export *dbe, struct symbol *sym, |
81 | struct dso *dso); | 83 | struct dso *dso); |
84 | int db_export__branch_type(struct db_export *dbe, u32 branch_type, | ||
85 | const char *name); | ||
82 | int db_export__sample(struct db_export *dbe, union perf_event *event, | 86 | int db_export__sample(struct db_export *dbe, union perf_event *event, |
83 | struct perf_sample *sample, struct perf_evsel *evsel, | 87 | struct perf_sample *sample, struct perf_evsel *evsel, |
84 | struct thread *thread, struct addr_location *al); | 88 | struct thread *thread, struct addr_location *al); |
85 | 89 | ||
90 | int db_export__branch_types(struct db_export *dbe); | ||
91 | |||
86 | #endif | 92 | #endif |