diff options
author | Ian Rogers <irogers@google.com> | 2025-09-02 11:17:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-09 18:58:25 +0200 |
commit | 150101bbe24ab9841f39e661bd8ddb1070aa7d3f (patch) | |
tree | 81572d9b28dfa9607039974e909a707c611384bd /tools/perf/scripts/python/task-analyzer.py | |
parent | 25eac390c4af3111d16921a80963933ceded5a24 (diff) |
perf bpf-utils: Constify bpil_array_desc
[ Upstream commit 1654a0e4d576d9e43fbb10ccf6a1b307c5c18566 ]
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>
Stable-dep-of: 01be43f2a0ea ("perf bpf-utils: Harden get_bpf_prog_info_linear")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions