qemu-e2k/hw/block
Stefan Hajnoczi 7f1d87ab0f trace: avoid SystemTap "char const" warnings
SystemTap's dtrace(1) produces the following warning when it encounters
"char const" instead of "const char":

  Warning: /usr/bin/dtrace:trace-dtrace-root.dtrace:66: syntax error near:
  probe flatview_destroy_rcu

  Warning: Proceeding as if --no-pyparsing was given.

This is a limitation in current SystemTap releases.  I have sent a patch
upstream to accept "char const" since it is valid C:

  https://sourceware.org/ml/systemtap/2018-q1/msg00017.html

In QEMU we still wish to avoid warnings in the current SystemTap
release.  It's simple enough to replace "char const" with "const char".

I'm not changing the documentation or implementing checks to prevent
this from occurring again in the future.  The next release of SystemTap
will hopefully resolve this issue.

Cc: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20180201162625.4276-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-02-19 13:09:44 +00:00
..
dataplane virtio: remove event notifier cleanup call on de-assign 2018-02-08 21:06:26 +02:00
Makefile.objs vhost-user-blk: introduce a new vhost-user-blk host device 2018-01-18 21:52:37 +02:00
block.c hw/block: Fix the return type 2017-12-19 09:25:28 +00:00
cdrom.c block: Clean up includes 2016-01-20 13:36:23 +01:00
ecc.c block: Clean up includes 2016-01-20 13:36:23 +01:00
fdc.c hw/block: Use errp directly rather than local_err 2017-12-19 10:25:03 +00:00
hd-geometry.c qemu-common: stop including qemu/bswap.h from qemu-common.h 2016-05-19 16:42:28 +02:00
m25p80.c maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
nand.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
nvme.c pci: removed the is_express field since a uniform interface was inserted 2018-02-08 21:06:41 +02:00
nvme.h block: Move NVMe constants to a separate header 2018-02-08 09:22:03 +08:00
onenand.c Fixes after renaming __FUNCTION__ to __func__ 2018-01-22 09:46:57 +01:00
pflash_cfi01.c hw/block/pflash_cfi01, pflash_cfi02: Use memory_region_init_rom_device() 2017-07-14 17:59:42 +01:00
pflash_cfi02.c hw/block/pflash_cfi01, pflash_cfi02: Use memory_region_init_rom_device() 2017-07-14 17:59:42 +01:00
tc58128.c block: Use DIV_ROUND_UP 2016-06-07 18:19:24 +03:00
trace-events trace: avoid SystemTap "char const" warnings 2018-02-19 13:09:44 +00:00
vhost-user-blk.c Clean up includes 2018-02-09 05:05:11 +01:00
virtio-blk.c virtio-blk: reject configs with logical block size > physical block size 2017-12-19 10:25:09 +00:00
xen_blkif.h xen: import ring.h from xen 2017-04-21 12:41:29 -07:00
xen_disk.c xen-disk: use an IOThread per instance 2017-12-14 15:24:22 -08:00