• 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: Terry Lambert <email@hidden>
  • Date: Fri, 21 Dec 2007 14:24:15 -0800

You can't use a colon in a name, but you can use a regular expression. You can also add a string compare as one of the constraints on pthe probe firing (in the /<predicate>/).

-- Terry

On Dec 21, 2007, at 7:14 AM, Dmitry Markman wrote:
Hi, is it possible to trace C++ function?

I was able to create prob for c++ function
::foo_cpp
that was called from c function foo_c

I created 2 probs one for foo_c and another for ::foo_cpp

but I was able to see events only for foo_c prob
(and I can see ::foo_cpp in stack)
and none for ::foo_cpp prob
I think it's wrong, because
foo_c is called ONLY from ::foo_cpp

Dmitry Markman

_______________________________________________
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

_______________________________________________ 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>)

  • Prev by Date: Re: How does 'Finder' open an application and bring the window to the front?
  • Next by Date: RE: Linker error
  • Previous by thread: DTrace and C++ function
  • Next by thread: Re: DTrace and C++ function
  • Index(es):
    • Date
    • Thread