trace: Replace error with warning if event is not defined
commit82432638ebeedda8a2e18838b6fbef4b14a94f31
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 21 May 2014 08:16:01 +0000 (21 18:16 +1000)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 9 Jun 2014 13:43:40 +0000 (9 15:43 +0200)
treef2352614a155b0cb9b4d9d25d3c5cf08abcba0a2
parent80ff35cd3ff451e8f200413ddf27816058630c1f
trace: Replace error with warning if event is not defined

At the moment QEMU exits if trace point is not defined which makes
a developer life harder if he has to switch between branches with
different traces implemented.

This replaces error+exit wit WARNING if the tracepoint does not exist or
not traceable.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
trace/control.c