From owner-freebsd-current@FreeBSD.ORG Wed Jun 23 18:33:39 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33C66106564A for ; Wed, 23 Jun 2010 18:33:39 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8F7CC8FC22 for ; Wed, 23 Jun 2010 18:33:38 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so441419eya.9 for ; Wed, 23 Jun 2010 11:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=UBLLokaxwVwjyf9dJsBGavFb35radwFXbwhDPpyfzk0=; b=xccWcxGq8B42xCSbIi2ZkboSJNoiYy2TIhef0+fBhoNFYmpWb+QB1eD4077kZ80PLh jg4I0F0j0EZoIlgC4suACi0mXAVPuRRelMzsS6iPH25OqUzQFFMMESpllQXyn+zTTITe cIVBHFejTQ4Q98DUfN9vR4fwTLQP8E8M9fRdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SE3Wbh2vKrL4cfPcmafv/qP+tZW0V0Y0+u3kfdWyoyLBMDPbcElGCj9vaD2eTuZX+D 7Adtn9zWI5FyHvZx0PiTKMz+YlYfy+IEXLtsaiNPJI84MdG7hdL6LaszwJQ0hskqwBIV zU4E40/+Au2n6C4LZPoOP4tCK04450Tual1to= MIME-Version: 1.0 Received: by 10.213.7.12 with SMTP id b12mr1857898ebb.52.1277318017373; Wed, 23 Jun 2010 11:33:37 -0700 (PDT) Received: by 10.213.10.131 with HTTP; Wed, 23 Jun 2010 11:33:37 -0700 (PDT) In-Reply-To: <1277317406.2478.24.camel@localhost.localdomain> References: <1277315605.2478.22.camel@localhost.localdomain> <4C224BB1.8000104@feral.com> <1277317406.2478.24.camel@localhost.localdomain> Date: Wed, 23 Jun 2010 14:33:37 -0400 Message-ID: From: Ryan Stone To: sbruno@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-current@freebsd.org" , Matthew Jacob Subject: Re: Deadlock with kgmon -p X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 18:33:39 -0000 I can't help you with the problems with gprof, but Fabien Thomas has been working on support for software-triggered pmc events. He posted a patch here: http://groups.google.com/group/pmctools-discuss/browse_thread/thread/1eb4fa78c7ab8522 You could try this out to use pmcstat to profile your application using the soft-clock event.