]> sourceware.org Git - systemtap.git/commit
staprun: interpret a non-zero systemtap_module_init() return as an error
authorSultan Alsawaf <sultan@openresty.com>
Thu, 21 Apr 2022 00:11:37 +0000 (17:11 -0700)
committerSultan Alsawaf <sultan@openresty.com>
Thu, 21 Apr 2022 01:42:28 +0000 (18:42 -0700)
commit3e17a2d2a0f6f709b59565c236daa0725db341cd
tree57d629d275c04b839efd1c342c9b887f8b8f1c5d
parent77c8d27e3647e23726ed1080a86ef26cb0738d04
staprun: interpret a non-zero systemtap_module_init() return as an error

Errors returned from systemtap_module_init() can often be positive, and
tracking down all sources of the positive return values is error-prone.
Instead, simply interpret any non-zero return from systemtap_module_init()
as an error so that staprun doesn't poll forever on waiting for a dead
stap module to do something.
staprun/mainloop.c
This page took 0.02369 seconds and 5 git commands to generate.