]> git.ipfire.org Git - thirdparty/linux.git/commit
perf bpf-event: Constify variables storing the result of strchr() on const tables
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 04:15:47 +0000 (01:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 05:35:29 +0000 (02:35 -0300)
commit8bf093acb3f1f07d846c86e32308f9f9954ed579
treed471a2a07bce3f81bee56e25808f3fac2d7b53d2
parent79bba3a1834e7ba6c437674582cc9f3ae6fb638c
perf bpf-event: Constify variables storing the result of strchr() on const tables

As newer glibcs will propagate the const attribute of the searched table
to its return.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/bpf-event.c