Summary: | BUG: using smp_processor_id() in preemptible [00000000] code: stapio/58567 | ||
---|---|---|---|
Product: | systemtap | Reporter: | Paulo Edgar Castro <pauloedgarcastro> |
Component: | kprobes | Assignee: | Unassigned <systemtap> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wcohen |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | 2022-11-23 00:00:00 |
Description
Paulo Edgar Castro
2022-11-23 19:45:39 UTC
That looks like an issue fixed by recent git commit (https://sourceware.org/git/?p=systemtap.git;a=commit;h=7eed8d1fef36997b9e4c1d9cdb67643483a51e56) Could you check whether that patch addresses the problem? The patch should be backported to various build to address this issue. It actually seems to work once you manage to build it. :p ``` Nov 23 20:33:55 localhost kernel: stap_43aa084633286aa721632867a50e8a1_451099 (iotime.stp): systemtap: 4.9/0.187, base: ffffffffc1091000, memory: 88data/68text/183ctx/327782net/19888alloc kb, probes: 28 ``` I had to amend the "recommended" configure incantation to: ./configure python3='/usr/bin/python3' py3execdir='${exec_prefix}/lib64/python3.11/site-packages' --prefix=/home/pecastro/systemtap-4.9-428877 --without-python2-probes the default recommended by ./configure in the first run kept on complaining about ``` make[2]: Entering directory '/download/systemtap/python' (cd .; CFLAGS="-I./../includes -I/download/systemtap/python/../includes/sys" /usr/bin/python2 setup.py build \ --build-base /download/systemtap/python/py2build \ --verbose) Traceback (most recent call last): File "setup.py", line 9, in <module> from setuptools import setup, Extension ImportError: No module named setuptools make[2]: *** [Makefile:626: all-local] Error 1 make[2]: Leaving directory '/download/systemtap/python' make[1]: *** [Makefile:2134: all-recursive] Error 1 make[1]: Leaving directory '/download/systemtap' make: *** [Makefile:799: all] Error 2 ``` commit 7eed8d1fef36997b9e4c1d9cdb67643483a51e56 is upstream systemtap and has been backported to various releases of Fedora. |