• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DTrace and C++ function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DTrace and C++ function


  • Subject: Re: DTrace and C++ function
  • From: Eric Gouriou <email@hidden>
  • Date: Sat, 22 Dec 2007 10:59:21 -0800


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

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.

  Eric


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: DTrace and C++ function
      • From: Dmitry Markman <email@hidden>
References: 
 >DTrace and C++ function (From: Dmitry Markman <email@hidden>)
 >Re: DTrace and C++ function (From: Terry Lambert <email@hidden>)
 >Re: DTrace and C++ function (From: Dmitry Markman <email@hidden>)
 >Re: DTrace and C++ function (From: Dmitry Markman <email@hidden>)

  • Prev by Date: Re: Configure and multiple OS X archs
  • Next by Date: Re: Configure and multiple OS X archs
  • Previous by thread: Re: DTrace and C++ function
  • Next by thread: Re: DTrace and C++ function
  • Index(es):
    • Date
    • Thread