summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-mem.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-26 23:24:27 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-31 17:06:41 +0300
commit9823147da6c893d9295949e5ed982a8630deb6db (patch)
tree4bd9a6b2e03f9a0cb69a684187776b65c139dc5b /tools/perf/builtin-mem.c
parent08043330167f1e21abe60ff7e124ed87d4fd029d (diff)
downloadlinux-9823147da6c893d9295949e5ed982a8630deb6db.tar.xz
perf tools: Move 'struct perf_sample' to a separate header file to disentangle headers
Some places were including event.h just to get 'struct perf_sample', move it to a separate place so that we speed up a bit the build. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-mem.c')
-rw-r--r--tools/perf/builtin-mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c
index 923fb8316fda..dedd612eae5e 100644
--- a/tools/perf/builtin-mem.c
+++ b/tools/perf/builtin-mem.c
@@ -20,6 +20,7 @@
#include "util/symbol.h"
#include "util/pmu.h"
#include "util/pmu-hybrid.h"
+#include "util/sample.h"
#include "util/string2.h"
#include <linux/err.h>