diff options
author | Darren Hart <dvhltc@us.ibm.com> | 2009-12-16 18:25:30 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-17 14:43:02 -0500 |
commit | 7e35a291ee133e918078362c15de62ccdb8087c4 (patch) | |
tree | 7a20f35c0d3f17236faf38da50b906baa65ef9e2 /COPYING | |
parent | 2c36d9bd41b3d0f4722e322ee4b062d046bf3ec5 (diff) |
trace-cmd: Start of a tracecmd swig wrapper for python
Introduce a python ctracecmd module for use in rapidly prototyping
tracing applications. The interface description is provided in
ctracecmd.i, it identifies which functions are available from within
python. A test python script is provided as tracecmd-test.py.
These bindings are expected to change significantly. Eventually I
would like to wrap this automated binding with more pythonic objects,
most likely including Trace and Event objects which merge the
functionality of tracecmd-input, pevent, record, and event structures.
This will make development of python apps much more accessible to many
application developers.
For now, this is mostly a proof of concept and is no where near
complete. It can however open a trace file and read all the events from
it, displaying them by CPU in chronological order.
V2: o Simplified interface file with SWIG ifdefs in the header files
V3: o Move attribute removal to interface file
o Remove proxy classes and rename module to ctracecmd
o Use the Makefile with a phony python target instead of swig.sh
Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
LKML-Reference: <4B2A7878.6060209@us.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions