]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf evsel: Constify option arguments to config functions
authorIan Rogers <irogers@google.com>
Wed, 18 Mar 2026 23:45:58 +0000 (16:45 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 19 Mar 2026 21:42:46 +0000 (14:42 -0700)
commit443556be8adc59126624eccd41f4150ec0e5a11a
treeab594071c98a613930f21fafd443f6f4ad7fdb71
parent8ebb69e549aa900cb51c0876c4f6ea03e5ece438
perf evsel: Constify option arguments to config functions

The options are used to configure the evsel but are not themselves
configured. Make the arguments const to better capture this.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/evsel.c
tools/perf/util/evsel.h