summaryrefslogtreecommitdiffstats
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2019-03-21 18:08:31 +0100
committerStefan Hajnoczi2019-03-22 16:55:50 +0100
commitb33b890cd07eca1d05cd8c4f5f03790f0585423f (patch)
tree6e1252313b3fb72b0d4f94d341fed6351fe747dd /hw/timer/lm32_timer.c
parenttrace: handle tracefs path truncation (diff)
downloadqemu-b33b890cd07eca1d05cd8c4f5f03790f0585423f.tar.gz
qemu-b33b890cd07eca1d05cd8c4f5f03790f0585423f.tar.xz
qemu-b33b890cd07eca1d05cd8c4f5f03790f0585423f.zip
trace: avoid SystemTap dtrace(1) warnings on empty files
target/hppa/trace-events only contains disabled events, resulting in a trace-dtrace.dtrace file that says "provider qemu {}". SystemTap's dtrace(1) tool prints a warning when processing this input file. This patch avoids the error by emitting an empty file instead of "provider qemu {}" when there are no enabled trace events. Fixes: 23c3d569f44284066714ff7c46bc4f19e630583f ("target/hppa: add TLB trace events") Reported-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Liam Merwick <liam.merwick@oracle.com> Message-id: 20190321170831.6539-3-stefanha@redhat.com Message-Id: <20190321170831.6539-3-stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions