How to get correct filename in probe.execve

Frank Ch. Eigler fche@redhat.com
Sat Jan 21 14:03:00 GMT 2017


larytet wrote:

> [...]
> I am trying to ensure that I keep an integer in the EXEC_FILENAME.
> If I do
> EXEC_FILENAME=filename
> SystemTap assumes a (zero terminated) string. [...]

BTW, you could still use $filename (the context variable, which is an
integer/char*) instead of filename (the script level variable, which is
a string).


- FChE



More information about the Systemtap mailing list