Friday 14 October 2011

Dtrace fixed for Ubuntu 11.04

I reported yesterday that dtrace had suddenly broke on my Ubuntu 11.04 release.
Now resolved.

At some point in the recent past, /proc/kallsyms was layered in
security. Looking at the file as a non-root user means we dont
have access to the symbol table (all values are zero). We fell
over in a heap since we couldnt find the right places to patch
in the kernel.

My sillyness really - as either I should run "make load" (or tools/load.pl)
as root, or be more careful when symbol lookups fail. The
script and driver dont handle the null pointers to well.

Simple fix is to shroud the opening of /proc/kallsyms by a call
to sudo.

Put up a new release to fix this.


Post created by CRiSP v10.0.16a-b6074


No comments:

Post a Comment