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:34:58 +0000 (13:34 -0400)
commit4fa126326d75953da073a1c5059c9bcf41361f90
tree8b1e095f105add4fe7b170ada9fed55bbf7cbd26
parent1dbccf09e89a762905babd0bf0a17ad6e9233b7c
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.02832 seconds and 4 git commands to generate.