This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Om <om.turyx@gmail.com> writes:
I am trying to execute this script. [...] # stap -v -u printk-time-toggle.stp 1 [...] semantic error: write to target variable not permitted: identifier '$printk_time' at printk-time-toggle.stp:8:4 [...]
That's the key message there. Since this script attempts to modify a kernel variable, it needs to be run under guru mode ("stap -g ...").
Thanks. It is working as expected now. Om.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |