Date: Sat, 14 Jun 2008 09:55:32 +1000 From: Fraser Tweedale <frase@frase.id.au> To: freebsd-hackers@freebsd.org Subject: Re: How to probe what application does in kernel (with sound device)? Message-ID: <20080613235531.GA91339@bacardi> In-Reply-To: <4852CFE8.8040003@rawbw.com> References: <4852CFE8.8040003@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2008 at 12:52:08PM -0700, Yuri wrote: > I have linux skype that complains that it can't use sound device without= =20 > giving any details. > 'truss -f' flag doesn't show any system calls related to sound device=20 > (/dev/dsp*). Maybe it's because of child processes aren't really=20 > monitored by truss for linux processes. > But sound from another sound application gets some strange interruption= =20 > and buzz every time I try to activate sound from skype. That's how I=20 > know that skype really does something with sound device. >=20 > Is there a way to probe program's activity with devices in-kernel? >=20 > Yuri >=20 ktrace(1) =46rom man page: The ktrace utility enables kernel trace logging for the specified pro- cesses. Kernel trace data is logged to the file ktrace.out. The kern= el operations that are traced include system calls, namei translations, s= ig- nal processing, and I/O. frase --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhTCPMACgkQPw/2FZbemTWEGACgtaVqzc5c28QGoXdExT3BLUYP oCgAoLD8lOfO6OpOAPT82hT6RTj3AnNJ =IPom -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080613235531.GA91339>