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>
Fri, 20 May 2016 20:35:05 +0000 (16:35 -0400)
commitd7599880d4fc4348bc9dc824b25d0fc109f247f3
tree66d1a36027fcd805684e82729cd77969f5df2e95
parentea10597e54150d570125fe5130db88d059f6392e
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.025788 seconds and 4 git commands to generate.