diff options
author | 2022-07-06 16:25:47 -0700 | |
---|---|---|
committer | 2022-07-08 10:55:53 +0200 | |
commit | f8d3da4ef8faf027261e06b7864583930dd7c7b9 (patch) | |
tree | 0fb8804ab06a3d8ee67e9a90223680d8e31b4981 /tools/perf/scripts/python/stackcollapse.py | |
parent | bpf: Make sure mac_header was set before using it (diff) | |
download | linux-dev-f8d3da4ef8faf027261e06b7864583930dd7c7b9.tar.xz linux-dev-f8d3da4ef8faf027261e06b7864583930dd7c7b9.zip |
bpf: Add flags arg to bpf_dynptr_read and bpf_dynptr_write APIs
Commit 13bbbfbea759 ("bpf: Add bpf_dynptr_read and bpf_dynptr_write")
added the bpf_dynptr_write() and bpf_dynptr_read() APIs.
However, it will be needed for some dynptr types to pass in flags as
well (e.g. when writing to a skb, the user may like to invalidate the
hash or recompute the checksum).
This patch adds a "u64 flags" arg to the bpf_dynptr_read() and
bpf_dynptr_write() APIs before their UAPI signature freezes where
we then cannot change them anymore with a 5.19.x released kernel.
Fixes: 13bbbfbea759 ("bpf: Add bpf_dynptr_read and bpf_dynptr_write")
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/r/20220706232547.4016651-1-joannelkoong@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions