-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
rhel-10.0
-
None
-
No
-
None
-
rhel-kernel-tracing
-
ssg_core_kernel
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
Executing sslsniff bcc script emits below traces and exceptions :
[root@rhel10ga ~]# /usr/share/bcc/tools/sslsniff /virtual/main.c:82:29: error: cannot call non-static helper function 82 | u32 buf_copy_size = min((size_t)MAX_BUF_SIZE, (size_t)len); | ^ include/linux/minmax.h:129:19: note: expanded from macro 'min' 129 | #define min(x, y) __careful_cmp(min, x, y) | ^ include/linux/minmax.h:105:2: note: expanded from macro '__careful_cmp' 105 | __careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_)) | ^ include/linux/minmax.h:100:2: note: expanded from macro '__careful_cmp_once' 100 | BUILD_BUG_ON_MSG(!__types_ok(x,y,ux,uy), \ | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:511:2: note: expanded from macro '_compiletime_assert' 511 | __compiletime_assert(condition, msg, prefix, suffix) | ^ include/linux/compiler_types.h:504:4: note: expanded from macro '__compiletime_assert' 504 | prefix ## suffix(); \ | ^ <scratch space>:86:1: note: expanded from here 86 | __compiletime_assert_509 | ^ 1 error generated. Traceback (most recent call last): File "/usr/share/bcc/tools/sslsniff", line 274, in <module> b = BPF(text=prog) ^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/bcc/__init__.py", line 505, in __init__ raise Exception("Failed to compile BPF module %s" % (src_file or "<text>")) Exception: Failed to compile BPF module <text>
Components version :
[root@rhel10ga ~]# uname -a ; rpm -qa | grep -i bcc Linux rhel10ga 6.12.0-55.13.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 19 02:07:49 EDT 2025 x86_64 GNU/Linux bcc-tools-0.32.0-1.el10.x86_64 bcc-0.32.0-1.el10.x86_64 python3-bcc-0.32.0-1.el10.noarch