mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
db73ee4bc8
In trace format '#' flag of printf is forbidden. Fix it to '0x%'. This patch is created by the following: check that we have a problem > find . -name trace-events | xargs grep '%#' | wc -l 56 check that there are no cases with additional printf flags before '#' > find . -name trace-events | xargs grep "%[-+ 0'I]+#" | wc -l 0 check that there are no wrong usage of '#' and '0x' together > find . -name trace-events | xargs grep '0x%#' | wc -l 0 fix the problem > find . -name trace-events | xargs sed -i 's/%#/0x%/g' [Eric Blake noted that xargs grep '%[-+ 0'I]+#' should be xargs grep "%[-+ 0'I]+#" instead so the shell quoting is correct. --Stefan] Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20170731160135.12101-3-vsementsov@virtuozzo.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
18 lines
830 B
Plaintext
18 lines
830 B
Plaintext
# See docs/devel/tracing.txt for syntax documentation.
|
|
|
|
# audio/alsaaudio.c
|
|
alsa_revents(int revents) "revents = %d"
|
|
alsa_pollout(int i, int fd) "i = %d fd = %d"
|
|
alsa_set_handler(int events, int index, int fd, int err) "events=0x%x index=%d fd=%d err=%d"
|
|
alsa_wrote_zero(int len) "Failed to write %d frames (wrote zero)"
|
|
alsa_read_zero(long len) "Failed to read %ld frames (read zero)"
|
|
alsa_xrun_out(void) "Recovering from playback xrun"
|
|
alsa_xrun_in(void) "Recovering from capture xrun"
|
|
alsa_resume_out(void) "Resuming suspended output stream"
|
|
alsa_resume_in(void) "Resuming suspended input stream"
|
|
alsa_no_frames(int state) "No frames available and ALSA state is %d"
|
|
|
|
# audio/ossaudio.c
|
|
oss_version(int version) "OSS version = 0x%x"
|
|
oss_invalid_available_size(int size, int bufsize) "Invalid available size, size=%d bufsize=%d"
|