]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
vl: fix tracing initialization
authorDenis V. Lunev <den@openvz.org>
Tue, 9 Feb 2016 16:49:05 +0000 (19:49 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 1 Mar 2016 13:20:15 +0000 (13:20 +0000)
commit62cb4145bbc71fcb9754034655a6c7327905efc4
tree01a88e59a63c712974b6a3a7329de44af75a48d8
parent4779dc1d19f0e3e20d2d4843b988c72b9235bbe0
vl: fix tracing initialization

we should call trace_init_backends() before trace_init_file() for
CONFIG_TRACE_SIMPLE There is no difference for other cases.

This problem was introduced by the commit
    commit 41fc57e44ed64cd4ab5393d83624afd897dabd4f
    Author: Paolo Bonzini <pbonzini@redhat.com>
    Date:   Thu Jan 7 16:55:24 2016 +0300

    trace: split trace_init_file out of trace_init_backends

'make check' was failed as a result if configured with
  --enable-trace-backends=simple

Spotted by Alex Bennée.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-id: 1455036545-14870-1-git-send-email-den@openvz.org
CC: Alex Bennée <alex.bennee@linaro.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
vl.c