diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2018-02-01 16:26:25 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-02-19 13:09:44 +0000 |
commit | 7f1d87ab0fd94cef5086e2879716958303281054 (patch) | |
tree | 4eb3dc2ab1adf6765997ee94f8a9d4bba871f0f9 /vl.c | |
parent | 61b01bbc6c27f06f4732aedcb6554e135f41b760 (diff) | |
download | qemu-7f1d87ab0fd94cef5086e2879716958303281054.zip qemu-7f1d87ab0fd94cef5086e2879716958303281054.tar.gz qemu-7f1d87ab0fd94cef5086e2879716958303281054.tar.bz2 |
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>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions