summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/event.h3
-rw-r--r--tools/perf/util/symbol.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index ea5bd1f62b0f..bc6c1e2206cf 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -336,9 +336,6 @@ int perf_event__process(struct perf_tool *tool,
struct machine *machine);
struct addr_location;
-
-void addr_location__put(struct addr_location *al);
-
struct thread;
bool is_bts_event(struct perf_event_attr *attr);
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 0b893dcc8ea6..e297de14184c 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -132,6 +132,8 @@ struct addr_location {
s32 socket;
};
+void addr_location__put(struct addr_location *al);
+
int dso__load(struct dso *dso, struct map *map);
int dso__load_vmlinux(struct dso *dso, struct map *map,
const char *vmlinux, bool vmlinux_allocated);