diff options
author | Yonghong Song <[email protected]> | 2017-11-12 14:49:10 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-14 16:20:03 +0900 |
commit | 9c019e2bc4b2bd8223c8c0d4b6962478b479834d (patch) | |
tree | 638dfe307de950e1e4101cedc34dfd82ee3dd4e1 /tools/perf/scripts/python | |
parent | 9fd29c08e52023252f0480ab8f6906a1ecc9a8d5 (diff) |
bpf: change helper bpf_probe_read arg2 type to ARG_CONST_SIZE_OR_ZERO
The helper bpf_probe_read arg2 type is changed
from ARG_CONST_SIZE to ARG_CONST_SIZE_OR_ZERO to permit
size-0 buffer. Together with newer ARG_CONST_SIZE_OR_ZERO
semantics which allows non-NULL buffer with size 0,
this allows simpler bpf programs with verifier acceptance.
The previous commit which changes ARG_CONST_SIZE_OR_ZERO semantics
has details on examples.
Signed-off-by: Yonghong Song <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions