lttng-tools python module v2
Quoted 11 lines · Danny Serres
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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Yannick Brosseau:
Quoted 8 lines · Danny Serres
Quoted 7 lines
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.
Quoted 8 lines
Quoted 5 lines
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" ?
David
Quoted 4 lines
_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJQI8eTAAoJEELoaioR9I02H24H/iepIFDK0qRvL1pU4S0H2EQx iMhDNGF/CLzG/FnOWEyZgoNR6lhc1lSUjaFs6FL56VcVueBuCW07rsTJDu2NgCYz TsHO29KAR3qrk+ymwSR53TeK2qXt8gr5AXYbc8mK0/DBWWQAxrmJXKSOy8qQ2tmV O0OBWVayDRWttusOknZgabAZF7JBitsoIQ2ZRNRlNtqIUxlbdsQlliujEpzjBu8b iCuZ/ZXxZ/oeClF1Pnoh64+yziHTfsBVFEbee4CpnBiRBn/6CsxEOF/ZscgWWkOl DOUWxj739xHcbtEtWBDo8iu6eqtOCuqVi4RKPqtmk4mqme8Tj7fTQg6YIJ+SZbU= =wKL0
-----END PGP SIGNATURE-----
Quoted 28 lines
Date: Thu, 9 Aug 2012 10:22:14 -0400
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: Re: [lttng-dev] [lttng-tools PATCH] lttng-tools python module v2-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512Yannick Brosseau:
Quoted 14 lines · Danny Serres
Quoted 12 lines
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.
Quoted 8 lines
Quoted 2 lines
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
Makefileon "configure" but not building the bindings with "make" ?
Sure I'll just switch the --disable-python option to --enable-python in the configure.ac
Danny
Quoted 17 lines
David
Quoted 4 lines
_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJQI8eTAAoJEELoaioR9I02H24H/iepIFDK0qRvL1pU4S0H2EQx iMhDNGF/CLzG/FnOWEyZgoNR6lhc1lSUjaFs6FL56VcVueBuCW07rsTJDu2NgCYz TsHO29KAR3qrk+ymwSR53TeK2qXt8gr5AXYbc8mK0/DBWWQAxrmJXKSOy8qQ2tmV O0OBWVayDRWttusOknZgabAZF7JBitsoIQ2ZRNRlNtqIUxlbdsQlliujEpzjBu8b iCuZ/ZXxZ/oeClF1Pnoh64+yziHTfsBVFEbee4CpnBiRBn/6CsxEOF/ZscgWWkOl DOUWxj739xHcbtEtWBDo8iu6eqtOCuqVi4RKPqtmk4mqme8Tj7fTQg6YIJ+SZbU= =wKL0
-----END PGP SIGNATURE-----
Quoted 4 lines
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Danny Serres:
Quoted 23 lines
Quoted 7 lines
Date: Thu, 9 Aug 2012 10:22:14 -0400 From: [email protected]
To: [email protected] CC: [email protected]; [email protected] Subject: Re: [lttng-dev] [lttng-tools PATCH] lttng-tools python module v2Yannick Brosseau:
Quoted 12 lines · Danny Serres
Quoted 11 lines
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.
Quoted 11 lines
Quoted 2 lines
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
Makefileon "configure" but not building the bindings with "make" ?Quoted 2 lines
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) ?
David
Quoted 14 lines
Quoted 2 lines
Danny
David
Quoted 7 lines
_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev_______________________________________________ lttng-dev mailing list [email protected]
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-----
Quoted 45 lines
Date: Thu, 9 Aug 2012 10:52:10 -0400
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: Re: [lttng-dev] [lttng-tools PATCH] lttng-tools python module v2-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512Danny Serres:
Quoted 32 lines
Quoted 7 lines
Date: Thu, 9 Aug 2012 10:22:14 -0400 From: [email protected]
To: [email protected] CC: [email protected]; [email protected] Subject: Re: [lttng-dev] [lttng-tools PATCH] lttng-tools python module v2Yannick Brosseau:
Quoted 8 lines · Danny Serres
Quoted 6 lines
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.
Quoted 8 lines
Quoted 4 lines
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
Makefileon "configure" but not building the bindings with "make" ?
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
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
Quoted 18 lines
David
Quoted 14 lines
Quoted 2 lines
Danny
David
Quoted 7 lines
_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev-----BEGIN PGP SIGNATURE-----
Quoted 8 lines
iQEcBAEBCgAGBQJQI86XAAoJEELoaioR9I02XGcIAILmRSD/4ghVjJjggfTjxSuA E0aKMWnXpxBO70I6CgP3Gvkab5gShjxS0juv1L2BqoqvfWfolhfRJ19kbg6+fHbl oCYR+n1XL+7pjjQwjrKN006hEHzQXCInImX1tY0cIFZ3nfBCG6jRnyg57MM36hdC nDs1KYHyhFiUcSKOoZ06Vis3H+YvUYo9zB7mHEf5y7pvdQgaIP01Y5d94MP33GEK CZQpOMDfrlFD/qGe2BsFRw+zMc+O1irkXRszawK7bAekFpHuN+od1nEED2ZhxO8e Et7mU5TQn0U9usrbCHw7lkEVDCaHri/9rjoDqWWpqbHPIdHG7O8uwqQQEtg0Qd8= =Gsvm
-----END PGP SIGNATURE-----
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev