public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Fwd: [packages] python 2.7 and systemtap markers?
       [not found] <CAAhuP__My5-fdAbm0Nz9bwVqS856Y+T8OaSFhEc0k11JCtMBHw@mail.gmail.com>
@ 2015-09-30  3:35 ` Gareth
  2015-09-30 14:59   ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: Gareth @ 2015-09-30  3:35 UTC (permalink / raw)
  To: systemtap

Guys

Is it necessary to apply some patch to cpython source for tracing
python (2.7) in Ubuntu?

I'm googling and find many guys are talking about patches for python,
but I don't know current status :(


---------- Forwarded message ----------
From: Gareth <academicgareth@gmail.com>
Date: Tue, Sep 15, 2015 at 5:40 PM
Subject: [packages] python 2.7 and systemtap markers?
To: ubuntu-devel-discuss@lists.ubuntu.com


Hey guys

Are python2.7 binaries from official packages compiled with systemtap markers?

--
Gareth

Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball
OpenStack contributor, kun_huang@freenode
My promise: if you find any spelling or grammar mistakes in my email
from Mar 1 2013, notify me
and I'll donate $1 or ¥1 to an open organization you specify.


-- 
Gareth

Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball
OpenStack contributor, kun_huang@freenode
My promise: if you find any spelling or grammar mistakes in my email
from Mar 1 2013, notify me
and I'll donate $1 or ¥1 to an open organization you specify.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: [packages] python 2.7 and systemtap markers?
  2015-09-30  3:35 ` Fwd: [packages] python 2.7 and systemtap markers? Gareth
@ 2015-09-30 14:59   ` Frank Ch. Eigler
  2015-10-04 15:37     ` Gareth
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Ch. Eigler @ 2015-09-30 14:59 UTC (permalink / raw)
  To: Gareth; +Cc: systemtap

Gareth <academicgareth@gmail.com> writes:

> Is it necessary to apply some patch to cpython source for tracing
> python (2.7) in Ubuntu?
> I'm googling and find many guys are talking about patches for python,
> but I don't know current status :(

Yeah, upstream python.org status of sys/sdt.h support is unclear:
  https://bugs.python.org/issue4111
  https://bugs.python.org/issue13405
have been open for some seven years (!!).
Here is the Fedora patch for python 2.7+.

http://pkgs.fedoraproject.org/cgit/python.git/tree/00055-systemtap.patch

- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: [packages] python 2.7 and systemtap markers?
  2015-09-30 14:59   ` Frank Ch. Eigler
@ 2015-10-04 15:37     ` Gareth
  0 siblings, 0 replies; 3+ messages in thread
From: Gareth @ 2015-10-04 15:37 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: systemtap

Thanks, Frank

I'm using jcea's patches at
https://www.jcea.es/artic/python_dtrace.htm and build cpython and
systemtap myself. Now everything is okay :)

On Wed, Sep 30, 2015 at 10:59 PM, Frank Ch. Eigler <fche@redhat.com> wrote:
> Gareth <academicgareth@gmail.com> writes:
>
>> Is it necessary to apply some patch to cpython source for tracing
>> python (2.7) in Ubuntu?
>> I'm googling and find many guys are talking about patches for python,
>> but I don't know current status :(
>
> Yeah, upstream python.org status of sys/sdt.h support is unclear:
>   https://bugs.python.org/issue4111
>   https://bugs.python.org/issue13405
> have been open for some seven years (!!).
> Here is the Fedora patch for python 2.7+.
>
> http://pkgs.fedoraproject.org/cgit/python.git/tree/00055-systemtap.patch
>
> - FChE



-- 
Gareth

Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball
OpenStack contributor, kun_huang@freenode
My promise: if you find any spelling or grammar mistakes in my email
from Mar 1 2013, notify me
and I'll donate $1 or ¥1 to an open organization you specify.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-04 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAAhuP__My5-fdAbm0Nz9bwVqS856Y+T8OaSFhEc0k11JCtMBHw@mail.gmail.com>
2015-09-30  3:35 ` Fwd: [packages] python 2.7 and systemtap markers? Gareth
2015-09-30 14:59   ` Frank Ch. Eigler
2015-10-04 15:37     ` Gareth

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).