This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How to get correct filename in probe.execve
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)