Re: DTrace and C++ function
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