[dtrace-discuss] problem with dtrace toolkit

Brendan Gregg - Sun Microsystems
Thu, 16 Nov 2006 07:14:07 -0000

G''Day Kelvin,

On Wed, Nov 15, 2006 at 02:31:46PM -0800, kelvin wrote:
> I tried some of the scripts in the toolkit  (opensnoop, execsnoop, dtruss),
and I keep seeing errors like this:
>
> dtrace: error on enabled probe ID 3 (ID 113: syscall::exece:return):
invalid kernel access in action #5 at DIF offset 0
>
> Anyone know what could be the problem?

These scripts shouldn''t have a problem; to eliminate factors, can you
try
as root in the global zone? - that is, if you wern''t doing this
already. :)

also trying the oneliners in Docs/oneliners.txt will help - if any of
them error, it gives us fewer factors to troubleshoot.

cheers,

Brendan