qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] trace: [linux-user] Commandline arguments t


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 1/2] trace: [linux-user] Commandline arguments to control tracing
Date: Tue, 21 Jun 2016 16:08:32 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 06/21/2016 07:23 AM, Lluís Vilanova wrote:
> Signed-off-by: Lluís Vilanova <address@hidden>
> ---
>  linux-user/main.c |   28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 

> +    {"trace-enable", "QEMU_TRACE_ENABLE",true,  handle_arg_trace_enable,
> +     "name",       "enable tracing of specified event names (pass '?' to 
> show a list of events)"},

? is a shell metacharacter, and it requires quoting to be safe against
globbing against any single-letter files in the current directory.  A
better suggestion would be to pass 'help' to show a list of events.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]