From owner-freebsd-current@FreeBSD.ORG Mon Feb 4 23:20:35 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0E0B0E22 for ; Mon, 4 Feb 2013 23:20:35 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm4-vm3.bullet.mail.ne1.yahoo.com (nm4-vm3.bullet.mail.ne1.yahoo.com [98.138.91.134]) by mx1.freebsd.org (Postfix) with ESMTP id 91108879 for ; Mon, 4 Feb 2013 23:20:34 +0000 (UTC) Received: from [98.138.90.49] by nm4.bullet.mail.ne1.yahoo.com with NNFMP; 04 Feb 2013 23:18:19 -0000 Received: from [98.138.226.131] by tm2.bullet.mail.ne1.yahoo.com with NNFMP; 04 Feb 2013 23:18:19 -0000 Received: from [127.0.0.1] by smtp218.mail.ne1.yahoo.com with NNFMP; 04 Feb 2013 23:18:19 -0000 X-Yahoo-Newman-Id: 866240.63167.bm@smtp218.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: lWzcEbwVM1n9D_eX0XzgC03x3LdrDjxBx6fheEjhCGu.ilr d9ZXwd.yzCJtPXfyz7vScHycIgDsPs8wonrECJV0joIIyeNTYQm.kGZbM7UG 6uzrbw4mCZj0bbpcSU8LC7_jDF8YhTHwismqhlWN5HPFm.Lqg0sADH0kQWJI oJyA_hdW1KgzDhbf_8GMM58kXkx3h8K2f7.xV4mr1EDqSa_koyMauLJUU0um xzYNZeK86JxYkEMQsSgO6JS6RtaoWdkhFgmMpwrWPyxbyVq7J0g9ttRYmAvQ 4l0lEHMQvgxTKSqqu2kLWWqiPmyquKj_Esvg7BfR.rMr1LMHvieNQgCB_6yG 2.ZTjTSqRiKfoOi.ozj.sdUAG2mCjUYzOWub88b2EmiTIOxuXwE_xOrPdKrX AF3h62stATqVvYJUiyJve2yePlcvynqpzgrjtZrYg2svxDRfIqvC2.hPIFRA Y5zW0ZydNGgZfPUgIHM.5Dac2sngjDPeCK0jjYdtG3iHZTpDDw3VxpuhZHY1 4P9Ls4zTAhzDRgzg4KnoYk58E8LSFLeASD1H0PVTK9SIFHQhDdeV8IqpciPC xLzrCez1_tu.IrLArESZUGZB6tEIj.vaCcHZva996Lw7ZQ278UZkFbTzOarl It.iSOfxYjpql_.E9q3Rl5bh5ZxL96XfERj32k1SVaH.J0V2O91L64hGfSa7 mX66T44D5.kpAJoyN X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.102] (pfg@200.118.157.7 with plain) by smtp218.mail.ne1.yahoo.com with SMTP; 04 Feb 2013 15:18:19 -0800 PST Message-ID: <511041BF.9000601@FreeBSD.org> Date: Mon, 04 Feb 2013 18:18:23 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Subject: Dtrace status - material for someone's TODO list. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 04 Feb 2013 23:20:35 -0000 Hello; Last year I did an attempt to merge some of the changes from illumos' Dtrace into FreeBSD. I don't use Dtrace a lot, so this was done mainly for fun. In general, merging changes from Illumos was pretty straightforward; just a matter of readapting the paths to match our layout. I was able to merge some basic stuff (semilog plots) and fixes but we are at a point now where they are building upon their own developments and we need to merge their stuff in the same order they did. Some of their changes (KVM and zones) we can just ignore. As of lately, I got stuck because our userland support is different from the Solaris stuff. The conflicts I am seeing now are not easy for my (non-)level of inner Dtrace-foo and I am not working more on this so I will post the links to the patches in the hope that someone will pick up where I left: - 1368 enablings on defunct providers prevent providers from unregistering http://people.freebsd.org/~pfg/patches/dtrace/illumos-gate-8e6add739e38.diff - 1455 DTrace tracemem() should take an optional size argument http://people.freebsd.org/~pfg/patches/dtrace/illumos-gate-571b0355c2e3.diff Once done with those we can continue bringing the nicer features: http://dtrace.org/blogs/eschrock/2011/10/26/your-mdb-fell-into-my-dtrace/ Cheers, Pedro.