lttng: enable-event: print kernel tracer status on error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 27 Feb 2024 04:09:37 +0000 (23:09 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2024 15:41:26 +0000 (10:41 -0500)
commit93928b6b84c85e284a97d9ad95641384537619e1
treebbc643d2785c519c3f9f0fea69a2aec941c39a39
parent13c25a5c01781dbabdd40a8a304e0a90bce5a6d0
lttng: enable-event: print kernel tracer status on error

Use the new kernel status query API to present a more descriptive error
when a kernel event rule fails to be enabled.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Icad2518bacec1a9ab3103a44052c0085eadda1a7
src/bin/lttng/commands/enable_events.cpp
This page took 0.02482 seconds and 4 git commands to generate.