tools: configure correct trace backend for QEMU
PATCH 1/1 tools: configure correct trace backend for QEMU
Newer versions of the QEMU source have replaced the 'stderr' trace backend with 'log'. This patch adjusts the tools Makefile to test for the 'log' backend and specify it if it is available.
---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
--- tools/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
tools/Makefile +3 -1
@@ -240,7 +240,9 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - if $$source/scripts/tracetool.py --check-backend --backend stderr ; then \ + if $$source/scripts/tracetool.py --check-backend --backend log ; then \ + enable_trace_backend='--enable-trace-backend=log'; \ + elif $$source/scripts/tracetool.py --check-backend --backend stderr ; then \ enable_trace_backend='--enable-trace-backend=stderr'; \ else \ enable_trace_backend='' ; \
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 5 lines · Paul Durrant
Newer versions of the QEMU source have replaced the 'stderr' trace backend with 'log'. This patch adjusts the tools
Makefileto test for the 'log' backend and specify it if it is available.Signed-off-by Paul Durrant <[email protected]>
I have queued this up for committing for 4.7
Wei.
Quoted 25 lines
---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>--- tools/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tools/Makefile +3
-1@@ -240,7 +240,9 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - if $$source/scripts/tracetool.py --check-backend --backend stderr ; then \ + if $$source/scripts/tracetool.py --check-backend --backend log ; then \ + enable_trace_backend='--enable-trace-backend=log'; \ + elif $$source/scripts/tracetool.py --check-backend --backend stderr ; then \ enable_trace_backend='--enable-trace-backend=stderr'; \ else \ enable_trace_backend='' ; \Signature · 1 line
2.1.4
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 12 lines
-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 10 May 2016 11:58
To: Paul Durrant
Cc: [email protected]; Ian Jackson; Wei Liu
Subject: Re: [PATCH] tools: configure correct trace backend for QEMUQuoted 4 lines · Paul Durrant
Newer versions of the QEMU source have replaced the 'stderr' trace backend with 'log'. This patch adjusts the tools
Makefileto test for the 'log' backend and specify it if it is available.
Quoted 6 lines
Quoted 1 line
Signed-off-by Paul Durrant <[email protected]>Acked-by Wei Liu <[email protected]>I have queued this up for committing for 4.7
Cool. Thanks :-)
Paul
Quoted 19 lines
Wei.
Quoted 12 lines
---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>--- tools/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tools/Makefile +0
-0tools/Makefile subdir-all-qemu-xen-dir: qemu-xen-dir-find · line 243
Quoted 4 lines
tools/Makefile +0
-1@@ -240,7 +240,9 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - if $$source/scripts/tracetool.py --check-backend --backend stderr ;then \
Quoted 11 lines
tools/Makefile subdir-all-qemu-xen-dir: qemu-xen-dir-find · line 243
Quoted 1 line
tools/Makefile +1
-0+ if $$source/scripts/tracetool.py --check-backend --backend log ; then\
tools/Makefile subdir-all-qemu-xen-dir: qemu-xen-dir-find · line 245
Quoted 2 lines
tools/Makefile +2
-0+ enable_trace_backend='--enable-trace-backend=log'; \ + elif $$source/scripts/tracetool.py --check-backend --backend stderr ;then \
Quoted 6 lines
tools/Makefile +0
-1enable_trace_backend='--enable-trace-backend=stderr'; \ else \ enable_trace_backend='' ; \ --2.1.4
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel