Add condition-targeting error query
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Jun 2021 21:58:45 +0000 (17:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Jun 2021 17:02:27 +0000 (13:02 -0400)
commit8ce7c93a4e83444a093f00aa7ed04c75233cd7a0
tree920eb38ac3b3bb22f2b078cdc52117f085f8c2d5
parentce9d7e237f6dfc105b500b3d6c3f39a3123ab01c
Add condition-targeting error query

Notifications discarded by the tracers are reported at the level of a
trigger. As those errors are specific to triggers with an "event-rule
matches" condition, they should be reported through a condition-specific
error query.

Note that a condition error query is created from a trigger: there is no
ambiguity since, unlike actions, conditions cannot be nested.

Given the proximity of the final 2.13 release, the code which populated
trigger error query results is simply used to populate the condition
error query results when the condition is of type "event-rule matches".

No trigger-scope errors can be reported for the moment. However, such
error reports will be added in the future.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie1ac3668142041beb6fd61574ccef506707c55b2
include/lttng/error-query-internal.h
include/lttng/error-query.h
include/lttng/trigger/trigger-internal.h
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/trigger-error-query.c
src/bin/lttng/commands/list_triggers.c
src/common/error-query.c
tests/regression/tools/notification/test_notification_notifier_discarded_count
tests/regression/tools/trigger/test_list_triggers_cli
tests/regression/tools/trigger/test_remove_trigger_cli
tests/regression/ust/python-logging/test_python_logging.in
This page took 0.027165 seconds and 4 git commands to generate.