]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
perf bpf-utils: Constify bpil_array_desc
authorIan Rogers <irogers@google.com>
Tue, 2 Sep 2025 18:17:12 +0000 (11:17 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 2 Sep 2025 21:55:20 +0000 (14:55 -0700)
commit1654a0e4d576d9e43fbb10ccf6a1b307c5c18566
treee73296ecf56ba677db3f06c9e68aa14b0ab62c0d
parentd7b67dd6f9db7bd2c49b415e901849b182ff0735
perf bpf-utils: Constify bpil_array_desc

The array's contents is a compile time constant. Constify to make the
code more intention revealing and avoid unintended errors.

Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250902181713.309797-3-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/bpf-utils.c