public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/13293] New: Experimental idea: translation from Python to SystemTap
@ 2011-10-13 17:44 dmalcolm at redhat dot com
  2011-10-13 17:45 ` [Bug translator/13293] " dmalcolm at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dmalcolm at redhat dot com @ 2011-10-13 17:44 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13293

             Bug #: 13293
           Summary: Experimental idea: translation from Python to
                    SystemTap
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: dmalcolm@redhat.com
    Classification: Unclassified


I had a go at writing a Python to .stp compiler

Motivation:
gdb can be scripted in Python, and I have a substantial body of Python code
that uses gdb's Python interface to poke at backtraces and values in inferior
processes.  It seems worth sharing that code somehow with SystemTap.

I'm attaching the minimal "compiler" I wrote (though it's far too premature for
that :)  )

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/13293] Experimental idea: translation from Python to SystemTap
  2011-10-13 17:44 [Bug translator/13293] New: Experimental idea: translation from Python to SystemTap dmalcolm at redhat dot com
@ 2011-10-13 17:45 ` dmalcolm at redhat dot com
  2011-10-13 17:47 ` dmalcolm at redhat dot com
  2017-05-08 20:30 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dmalcolm at redhat dot com @ 2011-10-13 17:45 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13293

--- Comment #1 from Dave Malcolm <dmalcolm at redhat dot com> 2011-10-13 17:44:57 UTC ---
Created attachment 5985
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5985
Very early and primitive .py -> .stp converter

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/13293] Experimental idea: translation from Python to SystemTap
  2011-10-13 17:44 [Bug translator/13293] New: Experimental idea: translation from Python to SystemTap dmalcolm at redhat dot com
  2011-10-13 17:45 ` [Bug translator/13293] " dmalcolm at redhat dot com
@ 2011-10-13 17:47 ` dmalcolm at redhat dot com
  2017-05-08 20:30 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dmalcolm at redhat dot com @ 2011-10-13 17:47 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13293

--- Comment #2 from Dave Malcolm <dmalcolm at redhat dot com> 2011-10-13 17:46:33 UTC ---
Created attachment 5986
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5986
The input .py file I've been using

$ sudo py2stp.py test.py 
works, generating a minimal test.stp, which prints "hello world" as it starts

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/13293] Experimental idea: translation from Python to SystemTap
  2011-10-13 17:44 [Bug translator/13293] New: Experimental idea: translation from Python to SystemTap dmalcolm at redhat dot com
  2011-10-13 17:45 ` [Bug translator/13293] " dmalcolm at redhat dot com
  2011-10-13 17:47 ` dmalcolm at redhat dot com
@ 2017-05-08 20:30 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2017-05-08 20:30 UTC (permalink / raw)
  To: systemtap

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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |fche at redhat dot com
         Resolution|---                         |WONTFIX

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
(progress on this clever idea is unlikely)

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

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

end of thread, other threads:[~2017-05-08 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-13 17:44 [Bug translator/13293] New: Experimental idea: translation from Python to SystemTap dmalcolm at redhat dot com
2011-10-13 17:45 ` [Bug translator/13293] " dmalcolm at redhat dot com
2011-10-13 17:47 ` dmalcolm at redhat dot com
2017-05-08 20:30 ` fche at redhat dot com

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