[lttng-dev] [lttng-tools PATCH] lttng-tools python module v2

Danny Serres serres at live.ca
Thu Aug 9 11:10:17 EDT 2012




> Date: Thu, 9 Aug 2012 10:52:10 -0400
> From: dgoulet at efficios.com
> To: serres at live.ca
> CC: yannick.brosseau at gmail.com; lttng-dev at lists.lttng.org
> Subject: Re: [lttng-dev] [lttng-tools PATCH] lttng-tools python module v2
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Danny Serres:
> > 
> > 
> >> Date: Thu, 9 Aug 2012 10:22:14 -0400 From: dgoulet at efficios.com 
> >> To: yannick.brosseau at gmail.com CC: danny.serres at efficios.com;
> >> lttng-dev at lists.lttng.org Subject: Re: [lttng-dev] [lttng-tools
> >> PATCH] lttng-tools python module v2
> >> 
> > 
> > Yannick Brosseau:
> >> On 2012-08-08 14:56, Danny Serres wrote:
> >>> The lttng-tools Python module can be used to directly control
> >>> the lttng-tools API inside Python, using 'import lttng'.
> > 
> >>> Therefore, it becomes possible to create a trace, add events, 
> >>> start/stop tracing, destroy a session and so on from within 
> >>> Python.
> > 
> >>> The module does not include URI-related functions.
> > 
> >>> SWIG >= 2.0 is used to create the wrapper and its 'warning md 
> >>> variable unused' bug is patched in Makefile.am.
> > 
> > 
> >> But I don't think that stuff in "extra" should be in the build 
> >> system.
> > 
> > Indeed. It should not.
> > 
> > Is it possible to create the Makefile on "configure" but not
> > building the bindings with "make" ?
> > 
> > 
> >> Sure I'll just switch the --disable-python option to
> >> --enable-python in the configure.ac
> 
> This seems like a good idea. Does "--enable-python" is right. Should
> we have something like "--enable-python-bindings" or
> "--enable-lttngctl-python"... or ... (you get the idea) ?
> 

--enable-python-bindings seems more elucidatory, I'll go with that

Danny

> David
> 
> > 
> >> Danny
> > 
> > 
> > David
> > 
> > 
> >> _______________________________________________ lttng-dev
> >> mailing list lttng-dev at lists.lttng.org 
> >> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> >> 
> >> _______________________________________________ lttng-dev mailing
> >> list lttng-dev at lists.lttng.org 
> >> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> -----BEGIN PGP SIGNATURE-----
> 
> iQEcBAEBCgAGBQJQI86XAAoJEELoaioR9I02XGcIAILmRSD/4ghVjJjggfTjxSuA
> E0aKMWnXpxBO70I6CgP3Gvkab5gShjxS0juv1L2BqoqvfWfolhfRJ19kbg6+fHbl
> oCYR+n1XL+7pjjQwjrKN006hEHzQXCInImX1tY0cIFZ3nfBCG6jRnyg57MM36hdC
> nDs1KYHyhFiUcSKOoZ06Vis3H+YvUYo9zB7mHEf5y7pvdQgaIP01Y5d94MP33GEK
> CZQpOMDfrlFD/qGe2BsFRw+zMc+O1irkXRszawK7bAekFpHuN+od1nEED2ZhxO8e
> Et7mU5TQn0U9usrbCHw7lkEVDCaHri/9rjoDqWWpqbHPIdHG7O8uwqQQEtg0Qd8=
> =Gsvm
> -----END PGP SIGNATURE-----
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120809/ee753d0c/attachment.html>


More information about the lttng-dev mailing list