]> git.ipfire.org Git - thirdparty/linux.git/commit
perf time-utils: 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:31:29 +0000 (02:31 -0300)
commit21c0bc9144834e39762dd6fddbb255ebb80cf079
tree5a7a142b622609bfbb3666faa52168167d10521e
parent0e14cb3b24f8f301cf6490a4493afc98321ed5bb
perf time-utils: 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/time-utils.c