From: Jonathan Rajotte Date: Thu, 23 May 2019 18:02:26 +0000 (-0400) Subject: Fix: python binding: expose domain buffer type X-Git-Tag: v2.12.0-rc1~587 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=dd5f427a5998f826204ac3bfc1659cd7177dc747;hp=dd5f427a5998f826204ac3bfc1659cd7177dc747 Fix: python binding: expose domain buffer type On enable_channel the domain buffer type is used to create a temporary channel. This currently fail for kernel channel since the buffer type is not exposed at the binding level and default to LTTNG_BUFFER_PER_PID. Channel for the kernel domain can only be created in LTTNG_BUFFER_GLOBAL mode. Exposing the buffer type also allow userpsace channel to use the per uid buffering scheme. The current bindings are in a rough state. This is to at least get them to work with kernel domain. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---