[dtrace-discuss] Re: Re: Re: Re: Re: How to monitor any access to
a specific file using drace
Adam Leventhal
ahl at eng.sun.com
Thu Jan 25 23:46:44 PST 2007
On Thu, Jan 25, 2007 at 01:02:08AM -0800, David Chen wrote:
> Hi Mike,
> Yes I'm using Solaris 10, do you know any other string function to do a "partial match"?
> I know stardand C library has "strstr" function, is there a way for dtrace script to call a C function?
There's no way to invoke a C function. There are a bunch of reasons for this
but the short answer is: safety. The strstr() DTrace subroutine will appear
in an update to Solaris 10 probably within the next several weeks.
Adam
--
Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
More information about the dtrace-discuss
mailing list