aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-12-18 15:56:12 -0800
committerAlexei Starovoitov <[email protected]>2021-01-08 13:39:24 -0800
commit792001f4f7aa036b1f1c1ed7bce44bb49126208a (patch)
tree95d6e3385c55e51fba29224e53d2c4f6cefbc3ab /tools/perf/scripts/python/compaction-times.py
parent833d22f2f922bbee6430e558417af060db6bbe9c (diff)
libbpf: Add user-space variants of BPF_CORE_READ() family of macros
Add BPF_CORE_READ_USER(), BPF_CORE_READ_USER_STR() and their _INTO() variations to allow reading CO-RE-relocatable kernel data structures from the user-space. One of such cases is reading input arguments of syscalls, while reaping the benefits of CO-RE relocations w.r.t. handling 32/64 bit conversions and handling missing/new fields in UAPI data structs. Suggested-by: Gilad Reti <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions