How to probe what application does in kernel (with sound device)?

Fraser Tweedale frase at
Sat Jun 14 00:28:48 UTC 2008

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 
> giving any details.
> 'truss -f' flag doesn't show any system calls related to sound device 
> (/dev/dsp*). Maybe it's because of child processes aren't really 
> monitored by truss for linux processes.
> But sound from another sound application gets some strange interruption 
> and buzz every time I try to activate sound from skype. That's how I 
> know that skype really does something with sound device.
> Is there a way to probe program's activity with devices in-kernel?
> Yuri


From 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 kernel
     operations that are traced include system calls, namei translations, sig-
     nal processing, and I/O.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-hackers mailing list