From owner-freebsd-dtrace@freebsd.org Sun Aug 2 05:53:21 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC45B9AFA4E for ; Sun, 2 Aug 2015 05:53:21 +0000 (UTC) (envelope-from hetakcoder@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A9411FF1 for ; Sun, 2 Aug 2015 05:53:21 +0000 (UTC) (envelope-from hetakcoder@gmail.com) Received: by wicmv11 with SMTP id mv11so99320944wic.0 for ; Sat, 01 Aug 2015 22:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=IfiDSJyllF5J+DI91udg4vUjkdJaGnlN68tZv69X5x8=; b=ZSUV/pJVq2LYT02L/nZ1f1wtFLOJQ8QPGzmz6fR8YqYpnkxaczZvaiI46LfcwnIwAf FskkcG4wiag1Je06onajmUDQnIk7L7i3xGL3dQ6Lh2pgMYnPjZt64VDEy0g8VsfIJrjM HIeHYo43t4tGZ5uTIayqcXWMlvQPXF6pYBhShbbHfTFJkWnWz18hxd4logeElDkoACPP faRPHmJqFS1IDvztuUneDNkqhLFkuetLG0Z7sQS2ImMnkcuHoXCtKuSS1xRzAICZSXtg 5rYUgXKsMgR6I5RYmw/0XSqqVGGvk85CHBjS4TAdNuN7hnxmclFR6lAVil+xRLcOoBpt 01eA== X-Received: by 10.180.39.163 with SMTP id q3mr22787912wik.82.1438494799417; Sat, 01 Aug 2015 22:53:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.68.233 with HTTP; Sat, 1 Aug 2015 22:52:39 -0700 (PDT) From: HeTak Date: Sun, 2 Aug 2015 10:22:39 +0430 Message-ID: Subject: How to get functions' local variables? To: freebsd-dtrace@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 02 Aug 2015 05:53:21 -0000 Hi there, My question is: How I can check a function's local varibales' value using dtrace? I'm a newbie in using dtrace and it's a bit weird for me..I went through manuals and so, but did not get that. :( What I could find out is that via args, I can get functions' input arguments. But I could not find out how I can check the value of a variable which is defined inside my goal function's scope. Isn't this feature available in Dtrace? Thanks :) --HeTaK