From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 13 19:52:10 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB831065675 for ; Fri, 13 Jun 2008 19:52:10 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 937D28FC23 for ; Fri, 13 Jun 2008 19:52:10 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id m5DJqAcR051075 for ; Fri, 13 Jun 2008 12:52:10 -0700 (PDT) Message-ID: <4852CFE8.8040003@rawbw.com> Date: Fri, 13 Jun 2008 12:52:08 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.14 (X11/20080608) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to probe what application does in kernel (with sound device)? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2008 19:52:10 -0000 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