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 message and remove duplicated one.
details: https://anonhg.NetBSD.org/src/rev/69bb51bf578e
branches: trunk
changeset: 457456:69bb51bf578e
user: isaki <isaki%NetBSD.org@localhost>
date: Wed Jun 26 07:47:25 2019 +0000
description:
Improve debug message and remove duplicated one.
diffstat:
sys/dev/audio/audio.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r e6d8a89513ca -r 69bb51bf578e sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c Wed Jun 26 07:33:19 2019 +0000
+++ b/sys/dev/audio/audio.c Wed Jun 26 07:47:25 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.21 2019/06/26 06:57:45 isaki Exp $ */
+/* $NetBSD: audio.c,v 1.22 2019/06/26 07:47:25 isaki Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -142,7 +142,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.21 2019/06/26 06:57:45 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.22 2019/06/26 07:47:25 isaki Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -1858,8 +1858,9 @@
KASSERT(mutex_owned(sc->sc_lock));
KASSERT(sc->sc_exlock);
- TRACE(1, "%sflags=0x%x po=%d ro=%d",
+ TRACE(1, "%sdev=%s flags=0x%x po=%d ro=%d",
(audiodebug >= 3) ? "start " : "",
+ ISDEVSOUND(dev) ? "sound" : "audio",
flags, sc->sc_popens, sc->sc_ropens);
af = kmem_zalloc(sizeof(audio_file_t), KM_SLEEP);
@@ -2236,8 +2237,6 @@
return EBADF;
}
- TRACET(3, track, "resid=%zd", uio->uio_resid);
-
usrbuf = &track->usrbuf;
input = track->input;
Home |
Main Index |
Thread Index |
Old Index