How to get correct filename in probe.execve

David Smith dsmith@redhat.com
Mon Jan 23 15:11:00 GMT 2017


On 01/22/2017 08:50 AM, Arkady wrote:
> ... and another question. What are pros and cons of using probe
> kprocess.exec vs probe kernel.function("do_execve") ?
> Thanks

That's an easy one. When you use the probe alias, you are trusting us to
keep that alias up to date. If you probe kernel.function("do_execve")
directly yourself, you are responsible for keeping your code up to date.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)



More information about the Systemtap mailing list