public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "pauloedgarcastro at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug kprobes/29824] BUG: using smp_processor_id() in preemptible [00000000] code: stapio/58567
Date: Wed, 23 Nov 2022 20:41:01 +0000	[thread overview]
Message-ID: <bug-29824-6586-IGS25CQl4v@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29824-6586@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=29824

--- Comment #2 from Paulo Edgar Castro <pauloedgarcastro at gmail dot com> ---
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
```

-- 
You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2022-11-23 20:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 19:45 [Bug kprobes/29824] New: " pauloedgarcastro at gmail dot com
2022-11-23 20:08 ` [Bug kprobes/29824] " wcohen at redhat dot com
2022-11-23 20:41 ` pauloedgarcastro at gmail dot com [this message]
2023-03-14 16:12 ` wcohen at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29824-6586-IGS25CQl4v@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).