-
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
-
-
aarch64
-
None
What were you trying to do that didn't work?
On ppc64le on RHEL-10
$ /usr/share/bcc/tools/profile 5
Sampling at 49 Hertz of all threads by user + kernel stack for 5 secs.
In file included from /virtual/main.c:14:
In file included from include/uapi/linux/ptrace.h:183:
In file included from arch/powerpc/include/asm/ptrace.h:169:
In file included from arch/powerpc/include/asm/paca.h:31:
arch/powerpc/include/asm/atomic.h:201:53: error: invalid input constraint 'YZ<>' in asm
201 | {}asm{} {}volatile{}("ld%U1%X1 %0,%1" : "=r"(t) : DS_FORM_CONSTRAINT (v->counter));
| ^
arch/powerpc/include/asm/asm-compat.h:43:28: note: expanded from macro 'DS_FORM_CONSTRAINT'
43 | #define DS_FORM_CONSTRAINT "YZ<>"
| ^
In file included from /virtual/main.c:14:
In file included from include/uapi/linux/ptrace.h:183:
In file included from arch/powerpc/include/asm/ptrace.h:169:
In file included from arch/powerpc/include/asm/paca.h:31:
arch/powerpc/include/asm/atomic.h:212:44: error: invalid output constraint '=YZ<>' in asm
212 | {}asm{} {}volatile{}("std%U0%X0 %1,%0" : "=" DS_FORM_CONSTRAINT (v->counter) : "r");
| ^
2 errors generated.
Traceback (most recent call last):
File "/usr/share/bcc/tools/profile", line 311, in <module>
b = BPF(text=bpf_text)
^^^^^^^^^^^^^^^^^^
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>
Please provide the package NVR for which the bug is seen:
This happens only on RHEL-10 on ppc64le.
On RHEL-9.6, it runs fine, even on ppc64le.
On RHEL-10, x86_64 is not affected.
How reproducible is this bug?
Always
Steps to reproduce
- Get ppc64le server. I'm using this LPAR from Beaker: ibm-p10-01-lp13.build.eng.rdu2.redhat.com
- /usr/share/bcc/tools/profile 5
Expected results
/usr/share/bcc/tools/profile runs without issues.
Actual results
Exception: Failed to compile BPF module <text>