diff options
author | 2024-10-10 04:56:52 +0100 | |
---|---|---|
committer | 2024-10-10 08:52:36 -0700 | |
commit | 5bd48a3a14df4b3ee1be0757efcc0f40d4f57b35 (patch) | |
tree | 65e2ea6fdecffdfec494ec9b8ee4cd985d136d42 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | libbpf: fix sym_is_subprog() logic for weak global subprogs (diff) | |
download | wireguard-linux-5bd48a3a14df4b3ee1be0757efcc0f40d4f57b35.tar.xz wireguard-linux-5bd48a3a14df4b3ee1be0757efcc0f40d4f57b35.zip |
bpf: fix argument type in bpf_loop documentation
The `index` argument to bpf_loop() is threaded as an u64.
This lead in a subtle verifier denial where clang cloned the argument
in another register[1].
[1] https://github.com/systemd/systemd/pull/34650#issuecomment-2401092895
Signed-off-by: Matteo Croce <teknoraver@meta.com>
Link: https://lore.kernel.org/r/20241010035652.17830-1-technoboy85@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions