diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-05 13:51:16 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-06 10:00:38 -0300 |
commit | af1db7f6b7323ab9f7beffe6028f421f4c398e7f (patch) | |
tree | 53fc0a07fc612c866c3d118fd5c2cb100b5864da | |
parent | d6e4ae499f25729c440714b0d902ed245a67c18f (diff) |
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 <[email protected]>
Cc: Dongjiu Geng <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kim Phillips <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Suzuki Poulouse <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-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" |