aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorMatt Smith <[email protected]>2021-09-01 12:44:38 -0700
committerAndrii Nakryiko <[email protected]>2021-09-07 17:41:23 -0700
commita6cc6b34b93e3660149a7cb947be98a9b239ffce (patch)
tree4bfc19f41b9e95c4273493d25318e714f9cbe2c9 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent08a6f22ef6f843d0ea7252087787b5ab04610bec (diff)
bpftool: Provide a helper method for accessing skeleton's embedded ELF data
This adds a skeleton method X__elf_bytes() which returns the binary data of the compiled and embedded BPF object file. It additionally sets the size of the return data to the provided size_t pointer argument. The assignment to s->data is cast to void * to ensure no warning is issued if compiled with a previous version of libbpf where the bpf_object_skeleton field is void * instead of const void * Signed-off-by: Matt Smith <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions