]> sourceware.org Git - systemtap.git/commit
Bug: delete_module() syscall might get interrupted under load.
authorYichun Zhang (agentzh) <yichun@openresty.com>
Tue, 2 Feb 2021 22:05:00 +0000 (14:05 -0800)
committerYichun Zhang (agentzh) <yichun@openresty.com>
Tue, 2 Feb 2021 22:05:02 +0000 (14:05 -0800)
commita399ff28c436ba8927ce3bb0af7655e33f3aacc5
tree69c9a1045d6b1e72a0545213b1f20ad6a2c5c2a0
parent057fc5b8ccf4c6246b0cd08623c2e27534eb361b
Bug: delete_module() syscall might get interrupted under load.

staprun might fail to delete modules and leave ko in the system:

  $ sudo lsmod|grep stap
  stap_2eb3039808b647e990825b99fb1f9b6_18830   221184  0
  stap_eee9b566240fbeb1194347a571ccd68_17219   208896  0

Now we try up to 5 times for the delete_module() syscall in staprun with
a growing sleep interval between successive attempts upon the EINTR
error.
staprun/staprun.c
This page took 0.024565 seconds and 5 git commands to generate.