lttng enable-channel memsets lttng_channel to -1
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Mar 2016 03:35:23 +0000 (22:35 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Mar 2016 03:35:23 +0000 (22:35 -0500)
The lttng enable-channel command uses a global
struct lttng_channel which it initializes to contain all "-1".

This is a hack used to set tag all attributes as "unset" which
has the unfortunate consequence of setting the extended pointer
to a non-sensical value. This workaround explicitly sets the
extended pointer to NULL, but this command should be refactored so
it is no longer necessary.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.025864 seconds and 4 git commands to generate.