I was hoping to do something as simple as link in the dtrace library, include
the headers and then use a c call to invoke a provider filling data structures.
I will take a look at the lockstat code you mentioned maybe gleam an idea or
two from it..
Thanks
--
This message posted from
Kudos to whoever wrote the header files. Very well documented.
I will research but looks like dtrace_probe() will do what I want..
I remember seeing a blurb somewhere saying not to trust the library as it could
and will change with growth. Is this true?
--
This message posted from
Hi Mike:
James is right, this is private interface. You are on your own as far as
stability is concerned.
But if you are still interested I have provided some step by step example of
using the C API in
my dtrace hands on lab. See http://dtracehol.com/#Exercise_15
-Angelo
On Nov 18, 2010, at
Hi Mike:
James is right, this is private interface. You are on
your own as far as stability is concerned.
But if you are still interested I have provided some
step by step example of using the C API in
my dtrace hands on lab. See
http://dtracehol.com/#Exercise_15
-Angelo
Excellent!!!
Hey Mike,
Are you asking if you can programmatically control DTrace? There's a C
API (that you can certainly invoke from C++), but it's private and not
stable. intrstat and plockstat are good example whose source code you
can find here: