Fix: Improve the error reporting of the track/untrack command
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 12 Aug 2015 20:08:16 +0000 (16:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 14 Aug 2015 21:58:39 +0000 (17:58 -0400)
commite46a48a80600e032d9dda429719939d32e8d24b1
treebc0465c4852cb02063809c7bbbd5474e373c2604
parent06f49088253d2a3357d92d08a81b3d3bab725cf5
Fix: Improve the error reporting of the track/untrack command

This patch adds feedback when a track/untrack command is successful and
specific messages on errors. It also changes the behavior when tracking
an already tracked PID or untracking a PID that is not tracked from an
error to a warning with a successful exit code.

Fixes: #898
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/lttng-error.h
src/bin/lttng-sessiond/trace-ust.c
src/bin/lttng/commands/track-untrack.c
src/common/error.c
This page took 0.025296 seconds and 4 git commands to generate.