[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] trace: print a warning if user tries to enable
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] Re: [PATCH] trace: print a warning if user tries to enable an unknown trace event |
Date: |
Mon, 11 Oct 2010 10:25:48 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sat, Oct 09, 2010 at 03:48:18PM +0000, Blue Swirl wrote:
> There was no warning if a bad trace event name was given to
> 'trace-event' command, thus the user could think that the command
> was successful even if this was not the case.
>
> Print a warning if the user tries to enable a trace event which is not
> known.
>
> Signed-off-by: Blue Swirl <address@hidden>
> ---
> monitor.c | 6 +++++-
> simpletrace.c | 4 +++-
> simpletrace.h | 2 +-
> 3 files changed, 9 insertions(+), 3 deletions(-)
Acked-by: Stefan Hajnoczi <address@hidden>