<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Objective-C: Printing Class Name from Dtrace</title>
	<atom:link href="http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/</link>
	<description>...so google can index my head.</description>
	<lastBuildDate>Thu, 18 Mar 2010 06:35:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nicolas Seriot</title>
		<link>http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/comment-page-1/#comment-188567</link>
		<dc:creator>Nicolas Seriot</dc:creator>
		<pubDate>Sat, 16 Aug 2008 09:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/#comment-188567</guid>
		<description>A coworker and I found what seems to be an undocumented behaviour of the -F option.

Consider this minimal DTrace script:

&lt;code&gt;pid$target::*NSDate*:entry {}
pid$target::*NSDate*:return {}&lt;/code&gt;

With -F, DTrace pretty prints the Objective-C messages, including the class/instance method sign.

&lt;code&gt;$ sudo dtrace -s objc_calls.d -F -c /Applications/TextEdit.app/Contents/MacOS/TextEdit
CPU FUNCTION                                 
  1  -&gt; +[NSDatePicker initialize]            
  1    -&gt; +[NSDatePickerCell initialize]      
  1    &lt;- +[NSDatePickerCell initialize]      
  1   +[NSDate distantFuture]               
  0  &lt;- +[NSDate distantFuture]               
...&lt;/code&gt;

By the way, TextEdit initializing NSDatePicker on startup seems kind of weird.</description>
		<content:encoded><![CDATA[<p>A coworker and I found what seems to be an undocumented behaviour of the -F option.</p>
<p>Consider this minimal DTrace script:</p>
<p><code>pid$target::*NSDate*:entry {}<br />
pid$target::*NSDate*:return {}</code></p>
<p>With -F, DTrace pretty prints the Objective-C messages, including the class/instance method sign.</p>
<p><code>$ sudo dtrace -s objc_calls.d -F -c /Applications/TextEdit.app/Contents/MacOS/TextEdit<br />
CPU FUNCTION<br />
  1  -&gt; +[NSDatePicker initialize]<br />
  1    -&gt; +[NSDatePickerCell initialize]<br />
  1    &lt;- +[NSDatePickerCell initialize]<br />
  1   +[NSDate distantFuture]<br />
  0  &lt;- +[NSDate distantFuture]<br />
...</code></p>
<p>By the way, TextEdit initializing NSDatePicker on startup seems kind of weird.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/comment-page-1/#comment-188200</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 04 Jul 2008 12:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/#comment-188200</guid>
		<description>Does the same principle apply to Java?</description>
		<content:encoded><![CDATA[<p>Does the same principle apply to Java?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Plastkort</title>
		<link>http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/comment-page-1/#comment-187771</link>
		<dc:creator>Plastkort</dc:creator>
		<pubDate>Wed, 04 Jun 2008 23:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/#comment-187771</guid>
		<description>Interesting information.  Does the same principle apply to Java?</description>
		<content:encoded><![CDATA[<p>Interesting information.  Does the same principle apply to Java?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mandelin&#8217;s blog &#187; Blog Archive &#187; DTrace C++ Mysteries Solved</title>
		<link>http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/comment-page-1/#comment-185345</link>
		<dc:creator>David Mandelin&#8217;s blog &#187; Blog Archive &#187; DTrace C++ Mysteries Solved</dc:creator>
		<pubDate>Fri, 15 Feb 2008 04:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/#comment-185345</guid>
		<description>[...] have been added as part of Objective C support, Googled &#8220;dtrace objective c&#8221;, found a blog post, followed a link from there to the Apple dtrace man page, saw the &#8220;-xmangled&#8221; option, [...]</description>
		<content:encoded><![CDATA[<p>[...] have been added as part of Objective C support, Googled &#8220;dtrace objective c&#8221;, found a blog post, followed a link from there to the Apple dtrace man page, saw the &#8220;-xmangled&#8221; option, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Omni Mouth &#187; More objc method tracing</title>
		<link>http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/comment-page-1/#comment-184919</link>
		<dc:creator>The Omni Mouth &#187; More objc method tracing</dc:creator>
		<pubDate>Sun, 27 Jan 2008 23:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.friday.com/bbum/2008/01/26/objective-c-printing-class-name-from-dtrace/#comment-184919</guid>
		<description>[...] Objective-C: Printing Class Name from Dtrace [...]</description>
		<content:encoded><![CDATA[<p>[...] Objective-C: Printing Class Name from Dtrace [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
