diff options
author | Matt Smith <[email protected]> | 2021-09-01 12:44:37 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-09-07 17:33:49 -0700 |
commit | 08a6f22ef6f843d0ea7252087787b5ab04610bec (patch) | |
tree | 06f550bd14bb1f2f97cb7b532616429bb79abf0c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 03e601f48b2da6fb44d0f7b86957a8f6bacfb347 (diff) |
libbpf: Change bpf_object_skeleton data field to const pointer
This change was necessary to enforce the implied contract
that bpf_object_skeleton->data should not be mutated. The data
will be cast to `void *` during assignment to handle the case
where a user is compiling with older libbpf headers to avoid
a compiler warning of `const void *` data being cast to `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