Actions
Bug #1214
closedCannot enable ip context through Python bindings
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/17/2020
Due date:
% Done:
100%
Estimated time:
Description
The lttng
Python module does not expose any constant for the ip
context, e.g. EVENT_CONTEXT_IP
.
Also see here: https://github.com/lttng/lttng-tools/blob/8c50264ed0aeac7b3124d1bd5c869edb3817f780/extras/bindings/swig/python/lttng.i.in#L133-L145
I'm on 2.10.8 and it looks like 2.11 also has the same problem.
$ apt list --installed | grep lttng
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
liblttng-ctl0/bionic,now 2.10.8-1~ubuntu18.04.1 amd64 [installed,automatic]
liblttng-ust-agent-java/bionic,bionic,now 2.10.5-1~ubuntu18.04.1 all [installed]
liblttng-ust-agent-java-jni/bionic,now 2.10.5-1~ubuntu18.04.1 amd64 [installed,automatic]
liblttng-ust-ctl4/bionic,now 2.10.5-1~ubuntu18.04.1 amd64 [installed,automatic]
liblttng-ust-dev/bionic,now 2.10.5-1~ubuntu18.04.1 amd64 [installed]
liblttng-ust-java/bionic,bionic,now 2.10.5-1~ubuntu18.04.1 all [installed,automatic]
liblttng-ust-java-jni/bionic,now 2.10.5-1~ubuntu18.04.1 amd64 [installed,automatic]
liblttng-ust-python-agent0/bionic,now 2.10.5-1~ubuntu18.04.1 amd64 [installed,automatic]
liblttng-ust0/bionic,now 2.10.5-1~ubuntu18.04.1 amd64 [installed,automatic]
lttng-modules-dkms/bionic,bionic,now 2.10.11-1~ubuntu18.04.1 all [installed]
lttng-tools/bionic,now 2.10.8-1~ubuntu18.04.1 amd64 [installed]
python3-lttng/bionic,now 2.10.8-1~ubuntu18.04.1 amd64 [installed]
python3-lttngust/bionic,bionic,now 2.10.5-1~ubuntu18.04.1 all [installed]
$ uname -a
Linux chrisnux 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Updated by Christophe Bedard about 4 years ago
Updated by Christophe Bedard about 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset lttng-tools|a593ba5a7ae3cd0598ac2ef83081342cbcae668c.
Actions