exclude static functions with prefix __SCT__ (#3772)
authorAchilles <49805408+achilles-git@users.noreply.github.com>
Thu, 23 Dec 2021 18:59:59 +0000 (00:29 +0530)
committerGitHub <noreply@github.com>
Thu, 23 Dec 2021 18:59:59 +0000 (10:59 -0800)
commit3e8eb8b62f6e92aef332b2eab48305220705dfae
treea24577820a75822c012b72453e5f53d67e232643
parent9a45c3c9e162e1e8e4eb3f267bdc2084c42b328b
exclude static functions with prefix __SCT__ (#3772)

The kernel functions with prefix __SCT__ are for static calls. These static call functions are not in
/sys/kernel/debug/tracing/available_filter_functions and not in /sys/kernel/debug/kprobes/blacklist
either. Let us do filtering in get_kprobe_functions() to filter them out.

Co-authored-by: prameet.p <prameet.p@inba-prameet.p-210508>
src/python/bcc/__init__.py