summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-03-25 08:33:46 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-03-25 08:33:46 +0000
commit278ef8f7bc0c7f63737ad5f5e967ca253c2571cb (patch)
tree166210c2a1aa8585d2f2edd100c9b5cc82cd2e24 /tools
parent7addfcbf0f2f609ce2a5b8e9a75ee7efb483531c (diff)
intel-virtual-output: Do not detach with DBG enabled
Since DBG is sent to stdout, we only see it if we do not daemonize (which closes stdout). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index 5883950a..f153523f 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -2789,7 +2789,7 @@ int main(int argc, char **argv)
struct context ctx;
const char *src_name = NULL;
uint64_t count;
- int daemonize = 1, bumblebee = 0, all = 0, singleton = 1;
+ int daemonize = !EXTRA_DBG, bumblebee = 0, all = 0, singleton = 1;
int i, ret, open, fail;
signal(SIGPIPE, SIG_IGN);