Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bcc/python: fix attach kprobe/kretprobe using regex
Attach kprobe/kretprobe using regular expression should fail explicitly if no functions are traceable. Currently we catch all exceptions and if no functions are available, program continue with no BPF programs attached. In this commit, change this behavior to explicitly report error to user. Signed-off-by: Hengqi Chen <[email protected]>
- Loading branch information