fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
hpt has joined #systemtap
sscox has quit [Read error: Connection reset by peer]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
khaled has quit [Quit: Konversation terminated!]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
orivej has joined #systemtap
mjw has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
khaled has joined #systemtap
hpt has quit [Ping timeout: 272 seconds]
orivej has joined #systemtap
sscox has joined #systemtap
_whitelogger has joined #systemtap
tromey has joined #systemtap
_whitelogger has quit [Ping timeout: 260 seconds]
_whitelogger_ has joined #systemtap
amerey has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
orivej has quit [Ping timeout: 265 seconds]
jistone has joined #systemtap
orivej has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
fdalleau_away is now known as fdalleau
fdalleau is now known as fdalleau_away
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
<derek0883>
Hi, how can I use variable in probe? like this: global app="Hello1" probe process(app).function("main") { printf("%s started\n", execname())} next time I can change app="Otherapp".
<fche>
derek0883, you can't do that at run time
<fche>
probe point take literals as parameters, because stap must know at compile time what processes to attach to, where to look for their main() function, etc.
<derek0883>
I don't need dot it at run time, I want stop the script, and change appname,
<fche>
you can attach to general "a process has started" probe points (process.begin) e.g.
<fche>
ah
<fche>
so parametrize the script with an binary name? couple of ways