diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-05-21 18:16:01 +1000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-09 15:43:40 +0200 |
commit | 82432638ebeedda8a2e18838b6fbef4b14a94f31 (patch) | |
tree | f2352614a155b0cb9b4d9d25d3c5cf08abcba0a2 /trace/ftrace.c | |
parent | 80ff35cd3ff451e8f200413ddf27816058630c1f (diff) |
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>
Diffstat (limited to 'trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions