qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 5/9] qemu-log: new option -dfilter to limit o


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v7 5/9] qemu-log: new option -dfilter to limit output
Date: Thu, 3 Mar 2016 23:33:50 +0000

On 22 February 2016 at 15:59, Alex Bennée <address@hidden> wrote:
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 2f0465e..c7e0486 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -3094,6 +3094,24 @@ STEXI
>  Output log in @var{logfile} instead of to stderr
>  ETEXI
>
> +DEF("dfilter", HAS_ARG, QEMU_OPTION_DFILTER, \
> +    "-dfilter range,..  filter debug output to range of addresses (useful 
> for -d cpu,exec,etc..)\n",
> +    QEMU_ARCH_ALL)
> +STEXI
> address@hidden -dfilter @var{range1}[,...]
> address@hidden -dfilter
> +Filter debug output to that relevant to a range of target addresses. The 
> filter
> +spec can be either @address@hidden, @address@hidden or
> address@hidden@var{end} where @var{start} @var{end} and @var{size} are the
> +addresses and sizes required. For example:
> address@hidden
> +    -dfilter 
> 0x8000..0x9000,0xffffffc000080000+0x200,0xffffffc000060000-0x1000
> address@hidden example
> +Will dump output for any code in the 0x1000 sized block starting at 0x8000 
> and

The block defined starting at 0x8000 is 0x1001 in size (unless you want to
change it to be "0x8000..0x8fff").

thanks
-- PMM



reply via email to

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