apic: convert debug printf statements to tracepoints
Replace debug printf statements with tracepoints.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
trace: Relax trace-events parsing regex in simpletrace.py
The regular expression to parse trace event definitions assumed theformat string would be a simple double-quoted string. However, we nowuse PRI?64 for portability which splits string literals. The regular...
issue snd_pcm_start() when capturing audio
snd_pcm_start() starts the capture process and ensures that the eventsare delivered to the poll handler. Without the call, capture can be startedonly when there is simultaneous playback running.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>...
fix 100% CPU load when idle with ALSA
Playback control function did not disable polling when playback stops.Caused busy spinning of the main loop due to unprocessed events.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>Signed-off-by: malc <av1474@comtv.ru>
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 commandwas successful even if this was not the case.
Print a warning if the user tries to enable a trace event which is not...
mips: avoid write only variables
Compiling with GCC 4.6.0 20100925 produced a lot of warnings like:/src/qemu/target-mips/translate.c: In function 'gen_ld':/src/qemu/target-mips/translate.c:1039:17: error: variable 'opn' set but not used [-Werror=unused-but-set-variable]...
ppc: avoid write only variables
Compiling with GCC 4.6.0 20100925 produced warnings:/src/qemu/target-ppc/op_helper.c: In function 'helper_icbi':/src/qemu/target-ppc/op_helper.c:351:14: error: variable 'tmp' set but not used [-Werror=unused-but-set-variable]...
i386: avoid a write only variable
Compiling with GCC 4.6.0 20100925 produced warnings:/src/qemu/target-i386/op_helper.c: In function 'switch_tss':/src/qemu/target-i386/op_helper.c:283:53: error: variable 'new_trap' set but not used [-Werror=unused-but-set-variable]...
vnc: avoid write only variables
Compiling with GCC 4.6.0 20100925 produced warnings:/src/qemu/ui/vnc.c: In function 'vnc_client_cache_auth':/src/qemu/ui/vnc.c:217:12: error: variable 'qdict' set but not used [-Werror=unused-but-set-variable]/src/qemu/ui/vnc.c: In function 'vnc_display_open':...
cris: avoid a write only variable
Compiling with GCC 4.6.0 20100925 produced a warning:In file included from /src/qemu/target-cris/translate.c:3154:0:/src/qemu/target-cris/translate_v10.c: In function 'dec10_prep_move_m':/src/qemu/target-cris/translate_v10.c:111:22: error: variable 'rd' set but not used [-Werror=unused-but-set-variable]...
View all revisions | View revisions
Also available in: Atom