From 8fade7e84ccfb6555c7169f4a69399167c11d46d Mon Sep 17 00:00:00 2001 From: Iago-lito Date: Tue, 21 Oct 2025 17:24:20 +0200 Subject: [PATCH] Fix `available_filter_functions` file path? I had to tweak this today to get `offcputime` working.. does it make sense? --- src/python/bcc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/bcc/__init__.py b/src/python/bcc/__init__.py index cc59b2296a75..228eb504e19c 100644 --- a/src/python/bcc/__init__.py +++ b/src/python/bcc/__init__.py @@ -726,7 +726,7 @@ def get_kprobe_functions(event_re): raise e blacklist = set([]) - avail_filter_file = "%s/tracing/available_filter_functions" % DEBUGFS + avail_filter_file = "%s/available_filter_functions" % TRACEFS try: with open(avail_filter_file, "rb") as avail_filter_f: avail_filter = set([line.rstrip().split()[0] for line in avail_filter_f])