diff mbox

configure: Show trace output file conditionally

Message ID 1394827750-28635-1-git-send-email-sw@weilnetz.de
State Accepted
Headers show

Commit Message

Stefan Weil March 14, 2014, 8:09 p.m. UTC
It is only used with the simple trace backend.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 configure |    2 ++
 1 file changed, 2 insertions(+)

Comments

Stefan Hajnoczi March 18, 2014, 9:25 a.m. UTC | #1
On Fri, Mar 14, 2014 at 09:09:10PM +0100, Stefan Weil wrote:
> It is only used with the simple trace backend.
> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  configure |    2 ++
>  1 file changed, 2 insertions(+)

Thanks, applied to my tracing-next tree:
https://github.com/stefanha/qemu/commits/tracing-next

Stefan
diff mbox

Patch

diff --git a/configure b/configure
index 1efb438..6eebd2c 100755
--- a/configure
+++ b/configure
@@ -4092,7 +4092,9 @@  echo "libcap-ng support $cap_ng"
 echo "vhost-net support $vhost_net"
 echo "vhost-scsi support $vhost_scsi"
 echo "Trace backend     $trace_backend"
+if test "$trace_backend" = "simple"; then
 echo "Trace output file $trace_file-<pid>"
+fi
 if test "$spice" = "yes"; then
 echo "spice support     $spice ($spice_protocol_version/$spice_server_version)"
 else