Chris Williams wrote: > I am looking for some help with a dtrace I would like to create. I am > using the dtrace toolkit and used dappprof to see some of my user > functions that are getting called ALOT. What I would like to do is to > create a dtrace script that would give me a count of where those > functions are being called and get an aggregate count. I am just > looking for some pointers on how I would go about staring the script.
I suggest you use the documentation to be found on http://opensolaris.org/os/community/dtrace/ - for the specific issue, something like pid$::myfunc:entry { @c=count(); } is probably something you want to explore. HTH Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' _______________________________________________ dtrace-discuss mailing list [email protected]
