From: Arnaldo Carvalho de Melo Date: Sun, 27 Jan 2019 13:08:22 +0000 (+0100) Subject: perf tests: Add missing headers so far obtained indirectly X-Git-Tag: v5.4-rc1~1528^2~19^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f2ae234e5afea17fa81b83c5b8d0e758a0d0703;p=platform%2Fkernel%2Flinux-rpi.git perf tests: Add missing headers so far obtained indirectly We're going to remove symbol.h from some places and this breaks some of the perf tests, fix it by adding the required includes. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-wpa4b6x0btpnh2kjxzl9no4w@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/tests/sample-parsing.c b/tools/perf/tests/sample-parsing.c index 0e2d00d..236ce0d 100644 --- a/tools/perf/tests/sample-parsing.c +++ b/tools/perf/tests/sample-parsing.c @@ -1,9 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 #include #include +#include #include #include +#include "branch.h" #include "util.h" #include "event.h" #include "evsel.h" diff --git a/tools/perf/tests/sdt.c b/tools/perf/tests/sdt.c index 5059452..8bfaa63 100644 --- a/tools/perf/tests/sdt.c +++ b/tools/perf/tests/sdt.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include "tests.h" #include "debug.h"