summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2022-05-19 18:06:10 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-05-21 02:12:14 +0300
commitb23316aabffa835ecc516cb81daeef5b9155e8a5 (patch)
tree725acecb7560873d925c36bb5f3ebcbfde7f32de /tools/perf/scripts/python/stackcollapse.py
parent96af42c50adb6cee517c355bfd50060ef27bfa87 (diff)
downloadlinux-b23316aabffa835ecc516cb81daeef5b9155e8a5.tar.xz
selftests/bpf: Add missing trampoline program type to trampoline_count test
Currently the trampoline_count test doesn't include any fmod_ret bpf programs, fix it to make the test cover all possible trampoline program types. Since fmod_ret bpf programs can't be attached to __set_task_comm function, as it's neither whitelisted for error injection nor a security hook, change it to bpf_modify_return_test. This patch also does some other cleanups such as removing duplicate code, dropping inconsistent comments, etc. Signed-off-by: Yuntao Wang <ytcoode@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20220519150610.601313-1-ytcoode@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions