From owner-freebsd-dtrace@FreeBSD.ORG Thu Sep 11 13:46:47 2014 Return-Path: Delivered-To: freebsd-dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 715B99E3 for ; Thu, 11 Sep 2014 13:46:47 +0000 (UTC) Received: from ost.citrin.ru (ost.citrin.ru [193.169.234.215]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28AF8DBE for ; Thu, 11 Sep 2014 13:46:47 +0000 (UTC) Received: from citrin.office.vega.ru (office-nat.spylog.net [193.169.234.6]) (Authenticated sender: citrin@citrin.ru) by ost.citrin.ru (Postfix) with ESMTPSA id BA323CEB6E7 for ; Thu, 11 Sep 2014 13:46:37 +0000 (UTC) Message-ID: <5411A7BD.7020705@citrin.ru> Date: Thu, 11 Sep 2014 17:46:37 +0400 From: Anton Yuzhaninov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-dtrace@freebsd.org Subject: Pid provider Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1410443197; bh=WSG/ucy5FuQAQ8LqN6QY7UKfk3uWXvXn5MMC8FqOGms=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=fdN4d/CEr4DbL5DovGHRsfiqNdFDjIsU6pBqRaf4YpwcAcFstJbUYS602YXxZYqDg pJZi5/PckGdL8ZQQuc+MXB7ESxrdzI9u5OC2YchWAAK3gi2IEQHXbWIvrG86uKYeVH WXor7913/PwLsTmrd9TAc67YHRxFHkJ9/wdkm1WM= X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 13:46:47 -0000 Is PID provider is usable in FreeBSD? I try to list probes with dtrace -ln 'pid$target:::entry' -p NNN And for most processes no function from main binary shown (only functions from shared libraries are listed). For some only some functions are shown, e. g. for tcsh only two functions shown: ID PROVIDER MODULE FUNCTION NAME 61372 pid57232 tcsh glob entry 61373 pid57232 tcsh globfree entry Also there is bug_or_feature: examined process terminated if dtrace command terminated, e. g. run: dtrace -ln 'pid$target:::entry' -p XX | less then type q to quit from less - process with pid XX will be terminated.