Hi I wondered if given a pointer to an instruction in a user C function, DTrace can print out the user function name and offset of that instruction. That is, I'm looking for something like the %a flag but for user functions and not only for kernel functions.
I know that in the DTrace Java API this functionality exists. In particular, the Consumer class has both the lookupKernelFunction and lookupUserFunction methods (where the latter also requires the process id as an argument, in addition to the instruction pointer). I can't find the equivalent mechanism for DTrace scripts, though. Thanks, Yossi -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org