Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: Filter duplicate in get_kprobe_functions
`BPF.get_kprobe_functions` does not filter duplicates, and as a result may return the same function name more than once if it appears in /sys/kernel/debug/tracing/available_filter_functions more than once. Change the function's behavior to filter out duplicates before returning, so we don't end up attaching the same kprobe more than once.
- Loading branch information