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]

Re: How to get correct filename in probe.execve


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]