Hello!
On Wed, Sep 30, 2015 at 10:50 AM, 杨阳 wrote:
> maybe my fault, scripts in examples can be exec "sudo ./stap++ -I ./tapset
> -x 16180 --arg limit=10 samples/lj-lua-stacks.sxx " like this? luajit
> should be debug version?
>
Your sudo may *not* inherit the PATH environment settings of your own
user account. This is the case for many recent Linux distributions,
for example. You can either
1. edit your /etc/sudoers file to allow environment inheritance in sudo, and/or
2. add your own user account to the groups stapdev and stapusr so that
you don't need sudo to run systemtap at all.
Hope these help.
Regards,
-agentzh