diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2024-12-09 20:10:54 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-12-10 10:24:57 -0800 |
commit | b238e187b4a2d3b54d80aec05a9cab6466b79dde (patch) | |
tree | e2118335dc7d6aabf72b8a171eb448119278cbbe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 27e88bc4df1d80888fe1aaca786a7cc6e69587e2 (diff) |
bpf: refactor bpf_helper_changes_pkt_data to use helper number
Use BPF helper number instead of function pointer in
bpf_helper_changes_pkt_data(). This would simplify usage of this
function in verifier.c:check_cfg() (in a follow-up patch),
where only helper number is easily available and there is no real need
to lookup helper proto.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20241210041100.1898468-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions