public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* How to get correct filename in probe.execve
@ 2017-01-19 14:09 Arkady
  2017-01-19 15:57 ` David Smith
  2017-01-19 20:41 ` Frank Ch. Eigler
  0 siblings, 2 replies; 13+ messages in thread
From: Arkady @ 2017-01-19 14:09 UTC (permalink / raw)
  To: systemtap

Hello,

I am doing the following

stap -e 'probe syscall.execve { { printf("exec %s\n", filename) } }'

My platform is

Linux ubuntu 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux

I am running a Python script called echo.py which contains two lines:

import os
os.system("ls /tmp")

I am doing something like python ./echo.py

In the exec probe output I am getting

exec "/usr/bin/python"
exec 00007fce05d05177

Where does 00007fce05d05177 come from?

Thanks

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-01-23 15:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19 14:09 How to get correct filename in probe.execve Arkady
2017-01-19 15:57 ` David Smith
2017-01-19 20:41 ` Frank Ch. Eigler
2017-01-20  0:35   ` Arkady
2017-01-20 14:28     ` David Smith
2017-01-21  5:39       ` Arkady
2017-01-21  6:52         ` Frank Ch. Eigler
2017-01-21 10:36           ` Arkady
2017-01-21 13:54             ` Frank Ch. Eigler
2017-01-21 14:03             ` Frank Ch. Eigler
2017-01-22 11:12               ` Arkady
2017-01-22 14:51                 ` Arkady
2017-01-23 15:11                   ` David Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).