diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-05 17:51:16 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-06 14:00:38 +0100 |
commit | af1db7f6b7323ab9f7beffe6028f421f4c398e7f (patch) | |
tree | 53fc0a07fc612c866c3d118fd5c2cb100b5864da /tools/perf/arch | |
parent | perf powerpc: Add missing headers to skip-callchain-idx.c (diff) | |
download | linux-af1db7f6b7323ab9f7beffe6028f421f4c398e7f.tar.xz linux-af1db7f6b7323ab9f7beffe6028f421f4c398e7f.zip |
perf arm pmu: Add missing linux/string.h header
It uses strstarts(), that is defined in linux/string.h but that was
being including by sheer luck, indirectly, fix it.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Dongjiu Geng <gengdongjiu@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kim Phillips <kim.phillips@arm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Link: https://lkml.kernel.org/n/tip-vub5lp82wb7vy5wssfad0xu8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch')
-rw-r--r-- | tools/perf/arch/arm/util/pmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/util/pmu.c b/tools/perf/arch/arm/util/pmu.c index e047571e6080..64a677b518d0 100644 --- a/tools/perf/arch/arm/util/pmu.c +++ b/tools/perf/arch/arm/util/pmu.c @@ -7,6 +7,7 @@ #include <string.h> #include <linux/coresight-pmu.h> #include <linux/perf_event.h> +#include <linux/string.h> #include "cs-etm.h" #include "arm-spe.h" |