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, 7 Jul 2021 21:31:33 +0000 (17:31 -0400)
commit3bac951b4b8d8f90b97238cf1cc3ea68d1a2e83d
treefee48d0bab92ddc49e52ef435ccc1b69d8686674
parent27692bb8c119de1fb7943d39fc98824c49fa8562
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.024592 seconds and 4 git commands to generate.