]> git.ipfire.org Git - thirdparty/linux.git/commit
perf list: Signal changing const memory is ok
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Jan 2026 21:26:44 +0000 (18:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jan 2026 13:46:50 +0000 (10:46 -0300)
commit9a0a5b5ac4372da84394dc329f763d6b7d384a86
tree4c44e9deddfcc904a38f6490c7092cedb3340725
parent2c850606a46b319d5128bda59f67b1fc642d94ef
perf list: Signal changing const memory is ok

In this case its a temp list that is created just for listing events and
will be deleted at the end, so just cast it to get rid of the compiler
warning.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/print-events.c