OSDN Git Service

perf arm pmu: Add missing linux/string.h header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Feb 2019 16:51:16 +0000 (13:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:38 +0000 (10:00 -0300)
commitaf1db7f6b7323ab9f7beffe6028f421f4c398e7f
tree53fc0a07fc612c866c3d118fd5c2cb100b5864da
parentd6e4ae499f25729c440714b0d902ed245a67c18f
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>
tools/perf/arch/arm/util/pmu.c