summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorVarun R Mallya <varunrmallya@gmail.com>2026-03-06 03:51:32 +0530
committerAndrii Nakryiko <andrii@kernel.org>2026-03-11 10:54:40 -0700
commitca0f39a369c5f927c3d004e63a5a778b08a9df94 (patch)
treec684fd5bc3b2a33809ef8e2572aa174207c1282d /tools/perf/scripts/python/parallel-perf.py
parentc02e0ab8aeeca716948d06a88993c470e4fbe426 (diff)
selftests/bpf: Fix const qualifier warning in fexit_bpf2bpf.c
Building selftests with clang 23.0.0 (6fae863eba8a72cdd82f37e7111a46a70be525e0) triggers the following error: tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c:117:12: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] The variable `tgt_name` is declared as `char *`, but it stores the result of strstr(prog_name[i], "/"). Since `prog_name[i]` is a `const char *`, the returned pointer should also be treated as const-qualified. Update `tgt_name` to `const char *` to match the type of the underlying string and silence the compiler warning. Signed-off-by: Varun R Mallya <varunrmallya@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Menglong Dong <menglong.dong@linux.dev> Link: https://lore.kernel.org/bpf/20260305222132.470700-1-varunrmallya@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions