summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2026-03-10 14:58:02 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-12 05:11:36 +0300
commit82562972b85469e23fb787f78c1dea6ad6b16af4 (patch)
treef0522e50d1a6c1003c56797f9cbd211935b6c027 /scripts/objdiff
parentbd4d6b955df2333511d7800a5cf9c672d3a9cad5 (diff)
downloadlinux-82562972b85469e23fb787f78c1dea6ad6b16af4.tar.xz
selftests: net: pass bpftrace timeout to cmd()
The bpftrace() helper configures an interval based exit timer but does not propagate the timeout to the cmd object, which defaults to 5 seconds. Since the default BPFTRACE_TIMEOUT is 10 seconds, cmd.process() always raises a TimeoutExpired exception before bpftrace has a chance to exit gracefully. Pass timeout+5 to cmd() to allow bpftrace to complete gracefully. Note: this issue is masked by a bug in the way cmd() passes timeout, this is fixed in the next commit. Reviewed-by: Nimrod Oren <noren@nvidia.com> Signed-off-by: Gal Pressman <gal@nvidia.com> Link: https://patch.msgid.link/20260310115803.2521050-2-gal@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions