diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2026-08-07 13:59:31 -0700 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-08-08 11:05:58 +0200 |
| commit | d977dca7d0736dc7d68d9ad1434961da3b42de35 (patch) | |
| tree | 5f84757c7748b7dfa2e30b56bfdae12f05f3763d /tools/perf/scripts/python/flamegraph.py | |
| parent | 483a1bb0b6cf816fabaf99702a6e4a7938c98b07 (diff) | |
bpf: Extract is_addr_space_cast32() utility function
bpf_do_misc_fixups() converts the following address space cast
instructions to 32-bit moves:
- cast from address space 1 (user) to address space 0 (kernel)
- cast from address space 0 (kernel) to address space 1 (user)
iff associated arena map has a BPF_F_NO_USER_CONV flag.
Extract a predicate detecting such instructions for use in the
following patches.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20260807-static-zext-v4-2-b6c270013c77@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
