When using fedora kernel version 6.3.6-200.fc38.x86_64, running any SystemTap script with IO will not terminate after Pass 5: starting run unless forced to. e.g. probe begin { print ("hello world\n") exit () } Upon downgrading to 6.2.15-300.fc38.x86_64 problem does not appear. Possibly related to stapio. Output of ps aux | grep stap halamour 4241 0.1 0.0 0 0 pts/0 Zl 15:48 0:00 [stapio] <defunct> halamour 4291 4.0 0.9 542516 300152 pts/0 S+ 15:48 0:00 stap -v hello-world.stp halamour 4292 0.1 0.0 0 0 pts/0 Zl+ 15:48 0:00 [stapio] <defunct> halamour 4358 0.0 0.0 222408 2176 pts/1 S+ 15:49 0:00 grep --color=auto stap Output of lsmod | grep stap stap_b9eef644af3bff3c851557a1748735a_4292 77824 1 stap_b9eef644af3bff3c851557a1748735a_4241 77824 1
Not sure what was the cause of what Housam observed, but this is working fine e.g. on 6.3.8-200.fc38.x86_64 .