* [Qemu-devel] [PULL 0/1] Tracing patches
@ 2016-11-18 15:01 Stefan Hajnoczi
2016-11-18 15:01 ` [Qemu-devel] [PULL 1/1] trace: fix generated code build break Stefan Hajnoczi
2016-11-18 15:33 ` [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-11-18 15:01 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi
The following changes since commit b0bcc86d2a87456f5a276f941dc775b265b309cf:
Update version for v2.8.0-rc0 release (2016-11-15 20:55:12 +0000)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/tracing-pull-request
for you to fetch changes up to d4f7ca59017835784c6872dfab0e269d9b41b05a:
trace: fix generated code build break (2016-11-18 11:09:58 +0000)
----------------------------------------------------------------
----------------------------------------------------------------
Greg Kurz (1):
trace: fix generated code build break
scripts/tracetool.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL 1/1] trace: fix generated code build break
2016-11-18 15:01 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
@ 2016-11-18 15:01 ` Stefan Hajnoczi
2016-11-18 15:33 ` [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-11-18 15:01 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Greg Kurz, Stefan Hajnoczi
From: Greg Kurz <groug@kaod.org>
If the QEMU source dir is
/var/tmp/aaa-qemu-clone
and the build dir is
/var/tmp/qemu-aio-poll-v2
Then I get an error as:
trace/generated-tracers.c:15950:13: error: invalid suffix "_trace_events"
on integer constant
TraceEvent *2_trace_events[] = {
^
trace/generated-tracers.c:15950:13: error: expected identifier or ‘(’ before
numeric constant
trace/generated-tracers.c: In function ‘trace_2_register_events’:
trace/generated-tracers.c:17949:32: error: invalid suffix "_trace_events" on
integer constant
trace_event_register_group(2_trace_events);
^
make: *** [trace/generated-tracers.o] Error 1
This patch fixes the issue.
Reported-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
Tested-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
scripts/tracetool.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index fe9c9e9..c9e4737 100755
--- a/scripts/tracetool.py
+++ b/scripts/tracetool.py
@@ -70,7 +70,7 @@ def make_group_name(filename):
if dirname == "":
return "common"
- return re.sub(r"[^A-Za-z0-9]", "_", dirname)
+ return "_" + re.sub(r"[^A-Za-z0-9]", "_", dirname)
def main(args):
global _SCRIPT
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] Tracing patches
2016-11-18 15:01 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
2016-11-18 15:01 ` [Qemu-devel] [PULL 1/1] trace: fix generated code build break Stefan Hajnoczi
@ 2016-11-18 15:33 ` Stefan Hajnoczi
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-11-18 15:33 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel, Peter Maydell
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
On Fri, Nov 18, 2016 at 03:01:28PM +0000, Stefan Hajnoczi wrote:
> The following changes since commit b0bcc86d2a87456f5a276f941dc775b265b309cf:
>
> Update version for v2.8.0-rc0 release (2016-11-15 20:55:12 +0000)
>
> are available in the git repository at:
>
> git://github.com/stefanha/qemu.git tags/tracing-pull-request
>
> for you to fetch changes up to d4f7ca59017835784c6872dfab0e269d9b41b05a:
>
> trace: fix generated code build break (2016-11-18 11:09:58 +0000)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
>
> Greg Kurz (1):
> trace: fix generated code build break
>
> scripts/tracetool.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --
> 2.7.4
>
>
Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-18 15:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-18 15:01 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
2016-11-18 15:01 ` [Qemu-devel] [PULL 1/1] trace: fix generated code build break Stefan Hajnoczi
2016-11-18 15:33 ` [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).