Fix: nonsensical message printed by lttng track/untrack
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 14 Nov 2017 02:16:18 +0000 (21:16 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 15 Nov 2017 23:37:11 +0000 (18:37 -0500)
commit7d70128bae52ea3daac8a4ebf6839774ca0115e8
tree96dac94b528a1f8463411ab02cde4fd9dfb2de11
parent93563adf01858a4decafcd4be52905003de7833a
Fix: nonsensical message printed by lttng track/untrack

The lttng track/untrack command, when used to track/untrack all
PIDs, prints a message of the following form:

"PID -1 untracked in session auto-20171113-210309"

This is because -1 is taken to mean "all" by the API and is used
as-is to print the message on the CLI.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/track-untrack.c
This page took 0.025862 seconds and 4 git commands to generate.