lttng-libust: enable Python agent when Python is available
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 31 Oct 2016 07:46:17 +0000 (03:46 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 1 Nov 2016 14:05:58 +0000 (15:05 +0100)
commit15ce62bbf33f1527b5553695d4641fba134dcd6c
tree5d2c1d7962927b7e5a521723c05d18c245ddf5d5
parent006c7ab5c45e3fc42729dbe242a0418fb8133c82
lttng-libust: enable Python agent when Python is available

Add the --enable-python-agent configure option to build the LTTng-UST
Python agent when Python 2 or Python 3 is also part of the BR image. The
LTTng-UST Python agent is a Python package which adds LTTng tracing to
Python's standard logging when imported.

Disable the Python agent otherwise.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lttng-libust/lttng-libust.mk