]> Git Repo - qemu.git/commit - monitor.c
trace: print a warning if user tries to enable an unknown trace event
authorBlue Swirl <[email protected]>
Wed, 13 Oct 2010 19:14:29 +0000 (19:14 +0000)
committerBlue Swirl <[email protected]>
Wed, 13 Oct 2010 19:14:29 +0000 (19:14 +0000)
commitf871d6893a7bf8c14db162f6e75a5f8157e4c2bb
tree6b68bc6aed69b8725f4454ec83c577056f206869
parent2abf314dddcfc1792a981ef6ecda343384b2a1a2
trace: print a warning if user tries to enable an unknown trace event

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.

Acked-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
monitor.c
simpletrace.c
simpletrace.h
This page took 0.024686 seconds and 4 git commands to generate.