]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf pmu: Replace starts_with with strstarts
authorIan Rogers <irogers@google.com>
Tue, 3 Mar 2026 18:52:16 +0000 (10:52 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 4 Mar 2026 01:04:49 +0000 (17:04 -0800)
commit895306e3c881ae8a3227a31bf4e64865ad6a534f
tree7bd1b718bafa9f36a265bc54b3f60192e47b8e4e
parentd05073adda0f047e9b2115a2932bcb2797eab238
perf pmu: Replace starts_with with strstarts

linux/string.h provides strstarts that matches the starts_with
function. For style and consistency reasons remove the starts_with
functions and use strstarts.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/arch/x86/util/pmu.c
tools/perf/util/drm_pmu.c