aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorPuranjay Mohan <[email protected]>2023-03-07 12:04:39 +0000
committerAndrii Nakryiko <[email protected]>2023-03-07 23:35:05 +0000
commit98e678e9bc5859dec605794730ad37d26789bd30 (patch)
tree4a03492368730d3f1fdd6a3027970981cebdaaf3 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parentlibbpf: Fix theoretical u32 underflow in find_cd() function (diff)
downloadkernel-98e678e9bc5859dec605794730ad37d26789bd30.tar.gz
kernel-98e678e9bc5859dec605794730ad37d26789bd30.zip
libbpf: Refactor parse_usdt_arg() to re-use code
The parse_usdt_arg() function is defined differently for each architecture but the last part of the function is repeated verbatim for each architecture. Refactor parse_usdt_arg() to fill the arg_sz and then do the repeated post-processing in parse_usdt_spec(). Signed-off-by: Puranjay Mohan <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions