aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2022-05-10 09:46:57 +0200
committerDaniel Borkmann <[email protected]>2022-05-11 14:15:17 +0200
commitb63b3c490eeeedd324e194929bd0aa8ba553f875 (patch)
tree65cea70b6c7e6d6ecfe5d9a7c308cd26f4453319 /tools/perf/scripts/python/exported-sql-viewer.py
parent5eefe17c7ae41bac4d2d281669e8357a10f4d5a4 (diff)
libbpf: Add bpf_program__set_insns function
Adding bpf_program__set_insns that allows to set new instructions for a BPF program. This is a very advanced libbpf API and users need to know what they are doing. This should be used from prog_prepare_load_fn callback only. We can have changed instructions after calling prog_prepare_load_fn callback, reloading them. One of the users of this new API will be perf's internal BPF prologue generation. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions