Boris
Boris

Reputation: 1467

bpftrace hangs after "Attaching probe" message

Hi I am trying to run bpftrace on AlmaLinux with uprobe. For any kind of traced application bpftrace shows "attaching .. probe(s)" and then just hangs. It doesn't work neither with bash as appears below or with simple test application compiled locally. Installing pre-compiled package or building locally doesn't change this behaviour.

root@hostname➜  ~ bpftrace  -e 'uprobe:/bin/bash:main { printf("in here\n"); }'
Attaching 1 probe...

What can be the issue here?

Upvotes: 0

Views: 187

Answers (0)

Related Questions