[dtrace-discuss] Dtrace providers and C, C++

2010-11-17 Thread Mike DeMarco
Can Dtrace providers be enabled and data collected from within a C++ program? -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Dtrace providers and C, C++

2010-11-17 Thread Adam Leventhal
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: