site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com thank you very much as I said in my off-list message to you I submitted bugreport to Apple, where I asked question which D pragma will be equivalent for -xmangled dtrace switch. so you answered to my question thank again dm On Dec 24, 2007, at 9:10 PM, Eric Gouriou wrote: Here is an undocumented way. In the DATA section of a custom DTrace instrument, add: #pragma D option mangled Eric Indeed DTrace understands glob patterns, not regular expressions. man dtrace has examples of ObjC probes using such patterns. The idiomatic way to match :: is to use ??. I''ll also add that -xmangled was added to switch DTrace to use the mangled representation instead of the default demangled one. It can be very useful for C++ work. This article might also be of interest: <http://developers.sun.com/solaris/articles/dtrace_cc.html> Although it looks like the default there is to use mangled names. Dmitry Markman _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Dec 22, 2007, at 12:43 PM, Dmitry Markman wrote: do you know how i can set -xmangled from Instruments application? This is the equivalent of -xmangled, from within the script. I am not sure of the consequences of setting this option on other instruments that might be instantiated in the same run. On Dec 22, 2007, at 1:59 PM, Eric Gouriou wrote: On Dec 21, 2007, at 7:02 PM, Dmitry Markman wrote: I should use *test_cpp* Terry mentioned regular expression, so I thought I have to use .*test_cpp.* but that didn'r work This email sent to site_archiver@lists.apple.com
participants (1)
-
Dmitry Markman