From owner-freebsd-dtrace@FreeBSD.ORG Thu Jun 18 00:21:25 2015 Return-Path: Delivered-To: freebsd-dtrace@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82E15EB4 for ; Thu, 18 Jun 2015 00:21:25 +0000 (UTC) (envelope-from priyanksanghavi92@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (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 535C5401 for ; Thu, 18 Jun 2015 00:21:25 +0000 (UTC) (envelope-from priyanksanghavi92@gmail.com) Received: by paceq1 with SMTP id eq1so23337806pac.3 for ; Wed, 17 Jun 2015 17:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=LSlu5e+i4JUz4Qq3LG5+YpMv2WSFzuZj6QFnA0IqJjM=; b=iPlNFrF7Uuu0xyyp2R/wk1FRyqOaD2KRg1Pf6+uV7QDu/l3/360AXaAYpY2l73P6Pj hLOHGKqGCwgVciiknQgEmlk2Ugzl7Y2EsAynCCG0H+D7ermf59g5kvWRojJ4eG4EOPVB /8FLheg849LCAJbGy/8IaOS1BWodRK9f3/I3/3ugByNZiVeTKrSmZ+fyISirtm5jmQjD 1PYpVxZjH4pO9HFWqNNZDK9BydwZ/URAiW2GftPXeunBv0uszF+Lxfn7ueE2E8uyzVc5 sjoA1vRC+VmcyjCqhDJpUAK/s3fywedoQKP+b1TDOyVXPIkM8wITMnb+HlutfwCoTu2j 21yA== X-Received: by 10.70.29.4 with SMTP id f4mr16166370pdh.23.1434586884870; Wed, 17 Jun 2015 17:21:24 -0700 (PDT) Received: from [172.29.106.45] ([66.129.239.12]) by mx.google.com with ESMTPSA id pj4sm5919727pbb.29.2015.06.17.17.21.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jun 2015 17:21:24 -0700 (PDT) From: Priyank Sanghavi Subject: Quantize a probe only if it has a particular function in its stack. Message-Id: Date: Wed, 17 Jun 2015 17:21:23 -0700 To: freebsd-dtrace@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Thu, 18 Jun 2015 00:21:25 -0000 Hello, I am currently working on dtrace on free-bsd. What I want to do is put a = probe on uma_zalloc function and quantize its arguments. But along with = that I want to keep a condition to quantize ( or record the readings) = only if the stack of that uma_zalloc has a function ( foo ) in it. = =E2=80=94=E2=80=94 This means, consider the readings of uma_zalloc only = if it has come from the function foo.=20 Is there a condition that can do that work? - Thanks, Priyank.=