]> git.ipfire.org Git - thirdparty/linux.git/commit
perf metricgroup: 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 04:54:47 +0000 (01:54 -0300)
commitb42868624c7d00206f77d19a6fbfea73a44ff6f2
tree5c8fcefaaeac61f20aabf04e9cf39e759f23d384
parent23262369e650c9995505eb4f69f16449467e6bfe
perf metricgroup: 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/metricgroup.c