Fix: lttng_triggers count is not equal to the size of the sorted trigger array
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 28 May 2021 18:32:37 +0000 (14:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Jun 2021 16:13:11 +0000 (12:13 -0400)
commit9fa6c43789adb788c5f03289b54553fb1b64edd7
tree0f6e1b82c3f96e2b948c3020ade3875bd4f2cb56
parent523c4f8cdeb927b789710e3dafcb3f249751ccfd
Fix: lttng_triggers count is not equal to the size of the sorted trigger array

Since anonymous triggers can be present in the original lttng_triggers
and that we do not add them to the sorting list, the count to be used
while iterating on the sorted list must be the size of the list itself
and not that of lttng_triggers.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ifb1802345199cb20fbb6d401f316be918b8a6443
src/bin/lttng/commands/list_triggers.c
This page took 0.025657 seconds and 4 git commands to generate.