aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2021-03-24 11:25:39 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2021-04-16 23:51:57 +0200
commitf528819334881fd622fdadeddb3f7edaed8b7c9b (patch)
tree151b9ecf65ed126be5b63b92bfc8852b2addc41f /tools/perf/scripts/python
parent073815b756c51ba9d8384d924c5d1c03ca3d1ae4 (diff)
bpf: Move sanitize_val_alu out of op switch
Add a small sanitize_needed() helper function and move sanitize_val_alu() out of the main opcode switch. In upcoming work, we'll move sanitize_ptr_alu() as well out of its opcode switch so this helps to streamline both. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions