lttng: start: ensure a cmd_error_code is returned by the command
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Apr 2023 19:15:50 +0000 (15:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Apr 2023 17:55:24 +0000 (13:55 -0400)
The start_tracing functions mix cmd_error_code and lttng_error_code
values in "raw" integers which is unexpected by the top-level client.

For instance, the client returns '80' when attempting to start a session
that is already active.

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


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