aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/trace-events
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-09-16 11:51:20 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2019-09-18 10:19:47 +0100
commit794dcb54b3fc3cb91d1eeb34216be3177400d6a2 (patch)
tree29263c399d1d2678e8425e709e0b06bd17fd3d55 /hw/scsi/trace-events
parent26b8e6dc42b9e46b76295f5613c7f7d61a78ccf0 (diff)
downloadqemu-794dcb54b3fc3cb91d1eeb34216be3177400d6a2.zip
qemu-794dcb54b3fc3cb91d1eeb34216be3177400d6a2.tar.gz
qemu-794dcb54b3fc3cb91d1eeb34216be3177400d6a2.tar.bz2
trace: Remove trailing newline in events
While the tracing framework does not forbid trailing newline in events format string, using them lead to confuse output. It is the responsibility of the backend to properly end an event line. Some of our formats have trailing newlines, remove them. [Fixed typo in commit description reported by Eric Blake <eblake@redhat.com> --Stefan] Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190916095121.29506-2-philmd@redhat.com Message-Id: <20190916095121.29506-2-philmd@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/scsi/trace-events')
-rw-r--r--hw/scsi/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/trace-events b/hw/scsi/trace-events
index 452b599..b082005 100644
--- a/hw/scsi/trace-events
+++ b/hw/scsi/trace-events
@@ -28,7 +28,7 @@ mptsas_mmio_read(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x val
mptsas_mmio_unhandled_read(void *dev, uint32_t addr) "dev %p addr 0x%08x"
mptsas_mmio_unhandled_write(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x value 0x%x"
mptsas_mmio_write(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x value 0x%x"
-mptsas_process_message(void *dev, int msg, uint32_t ctx) "dev %p cmd %d context 0x%08x\n"
+mptsas_process_message(void *dev, int msg, uint32_t ctx) "dev %p cmd %d context 0x%08x"
mptsas_process_scsi_io_request(void *dev, int bus, int target, int lun, uint64_t len) "dev %p dev %d:%d:%d length %"PRIu64""
mptsas_reset(void *dev) "dev %p "
mptsas_scsi_overflow(void *dev, uint32_t ctx, uint64_t req, uint64_t found) "dev %p context 0x%08x: %"PRIu64"/%"PRIu64""