[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 8/9] tcg: Include liveness info in the dumps
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH v3 8/9] tcg: Include liveness info in the dumps |
Date: |
Mon, 25 Jul 2016 18:16:11 +0200 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
On 2016-06-23 20:48, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> tcg/tcg.c | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/tcg/tcg.c b/tcg/tcg.c
> index fd92b06..3e4bc99 100644
> --- a/tcg/tcg.c
> +++ b/tcg/tcg.c
> @@ -1009,6 +1009,7 @@ void tcg_dump_ops(TCGContext *s)
> const TCGOpDef *def;
> const TCGArg *args;
> TCGOpcode c;
> + long pos = ftell(qemu_logfile);
>
Small additional note: ftell() doesn't work well when the logfile is the
terminal. As such when not dumping to the file, the alignment is wrong.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
address@hidden http://www.aurel32.net