Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/audio Improve debug messages.
details: https://anonhg.NetBSD.org/src/rev/6b0708963f48
branches: trunk
changeset: 942976:6b0708963f48
user: isaki <isaki%NetBSD.org@localhost>
date: Sun Aug 23 04:20:01 2020 +0000
description:
Improve debug messages.
diffstat:
sys/dev/audio/audio.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 6926c027b4ee -r 6b0708963f48 sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c Sun Aug 23 04:14:57 2020 +0000
+++ b/sys/dev/audio/audio.c Sun Aug 23 04:20:01 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.77 2020/08/23 04:14:57 isaki Exp $ */
+/* $NetBSD: audio.c,v 1.78 2020/08/23 04:20:01 isaki Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -138,7 +138,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.77 2020/08/23 04:14:57 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.78 2020/08/23 04:20:01 isaki Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -2498,7 +2498,7 @@
if (track->mmapped)
return EPERM;
- TRACET(2, track, "resid=%zd", uio->uio_resid);
+ TRACET(2, track, "resid=%zd ioflag=0x%x", uio->uio_resid, ioflag);
#ifdef AUDIO_PM_IDLE
error = audio_exlock_mutex_enter(sc);
@@ -6082,7 +6082,7 @@
if (track == NULL)
continue;
- TRACET(4, track, "broadcast; trseq=%d out=%d/%d/%d",
+ TRACET(4, track, "broadcast; trkseq=%d out=%d/%d/%d",
(int)track->seq,
track->outbuf.head,
track->outbuf.used,
Home |
Main Index |
Thread Index |
Old Index