summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/s390/util
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 22:15:42 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 22:16:56 +0200
commite740ca86f354038f55978c8ac7bec69b57f0c8e0 (patch)
tree5902e95f1d49dd913f79f3061aedb8c9c14968c1 /tools/perf/arch/s390/util
parentperf arm64: Add missing debug.h header (diff)
downloadlinux-e740ca86f354038f55978c8ac7bec69b57f0c8e0.tar.xz
linux-e740ca86f354038f55978c8ac7bec69b57f0c8e0.zip
perf kvm s390: Add missing string.h header
It uses strstr(), needs to include string.h or its not going to build when we remove string.h from the place it is getting from indirectly, by luck. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-72y0i0uiaqght5b83e3ae7p4@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/s390/util')
-rw-r--r--tools/perf/arch/s390/util/kvm-stat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/s390/util/kvm-stat.c b/tools/perf/arch/s390/util/kvm-stat.c
index dac78441338c..0fd4e9f49ed0 100644
--- a/tools/perf/arch/s390/util/kvm-stat.c
+++ b/tools/perf/arch/s390/util/kvm-stat.c
@@ -7,6 +7,7 @@
*/
#include <errno.h>
+#include <string.h>
#include "../../util/kvm-stat.h"
#include "../../util/evsel.h"
#include <asm/sie.h>