summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2026-02-28 13:47:56 -0500
committerAlexei Starovoitov <ast@kernel.org>2026-03-03 08:47:23 -0800
commit63ec29623943bd55fa026017a93b2d739fcdbb32 (patch)
tree9408f3309a1e4514c73b97b9c11bf1700a94726b /tools/perf/scripts/python
parent83419c8fdbbc1dacd12fa614c5a3561e498aac5f (diff)
bpf: Extract program_returns_void() for clarity
From: Eduard Zingerman <eddyz87@gmail.com> The check_return_code function has explicit checks on whether a program type can return void. Factor this logic out to reuse it later for both main progs and subprogs. Signed-off-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com> Link: https://lore.kernel.org/r/20260228184759.108145-3-emil@etsalapatis.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions