Refactor: move the snapshot type check into output type check
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 13 Nov 2015 15:30:01 +0000 (10:30 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 15 May 2016 17:35:06 +0000 (13:35 -0400)
commitb7bd300937f5b75f3f76eb48bc345d6230b78703
treef6d2a3cc0af629fc142369b29689140faaefd4e2
parent3e83b4aaf634df43ec3654346618eb49af9a04bc
Refactor: move the snapshot type check into output type check

Since for both sub-session type the boilerplate is the same
simply move the check for sub-session type presence to the inner
check of type output.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.026074 seconds and 4 git commands to generate.