]> git.ipfire.org Git - thirdparty/linux.git/commit
perf trace-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:26:48 +0000 (02:26 -0300)
commit97b81df7225830c4db3c17ed1235d2f3eb613d3d
treede92c1e16a74c38b508c0cf7ee49ce034fe8b948
parent0341eab66ba03a1f439db91f03bccd5b0a360842
perf trace-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/trace-event-info.c