aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-02-20 19:41:51 -0800
committerNamhyung Kim <[email protected]>2024-02-22 09:12:25 -0800
commit1a562c0d44974d3cf89c6cc5c34c708c08af420e (patch)
tree432bac6e76a0ffc02e2b761d620c559bad82583c /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
parent526f2ac9f6a1d668fddf925897b55341bef22644 (diff)
tools subcmd: Add a no exec function call option
Tools like perf fork tests in case they crash, but they don't want to exec a full binary. Add an option to call a function rather than do an exec. The child process exits with the result of the function call and is passed the struct of the run_command, things like container_of can then allow the child process function to determine additional arguments. Signed-off-by: Ian Rogers <[email protected]> Cc: James Clark <[email protected]> Cc: Justin Stitt <[email protected]> Cc: Bill Wendling <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Yang Jihong <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Kan Liang <[email protected]> Cc: Athira Jajeev <[email protected]> Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions