fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
scox has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
baojg has joined #systemtap
dmalcolm has quit [Ping timeout: 260 seconds]
dmalcolm has joined #systemtap
baojg has quit [Remote host closed the connection]
baojg has joined #systemtap
slowfranklin has joined #systemtap
nkambo has quit []
slowfranklin has quit [Quit: slowfranklin]
baojg has quit [Remote host closed the connection]
baojg has joined #systemtap
tonyj has quit [Remote host closed the connection]
slowfranklin has joined #systemtap
orivej has joined #systemtap
nkambo has joined #systemtap
scox has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 240 seconds]
mjw has joined #systemtap
wcohen has quit [Ping timeout: 240 seconds]
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
scox has joined #systemtap
drsmith_away is now known as drsmith
wcohen has joined #systemtap
tromey has joined #systemtap
brolley has joined #systemtap
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
gromero has joined #systemtap
mjw has quit [Quit: Leaving]
nkambo has quit [Ping timeout: 240 seconds]
nkambo has joined #systemtap
baojg has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
slowfranklin has quit [Quit: slowfranklin]
tonyj has joined #systemtap
slowfranklin has joined #systemtap
orivej has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
gila has joined #systemtap
slowfranklin has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
gila has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
drsmith is now known as drsmith_away
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #systemtap
<gila> I have a work path lets say: /code/something/long/build/lib/libfoo is there a shortcut way to define that path? e.g probe ($shortcut).function("myfunc") { } -- im doing this from the command line e.g adhoc tracing so no script
<fche> maybe command line options?
<fche> stap -e 'probe process(@1).function("myfunc") { }' /path/to/proc
<gila> right but I dont want to type /path/to/proc all the time...
<fche> you can say @1 several times in the script - is that what you mean?
<fche> or how else would you like to specify that string?
<gila> I tried export shortcut -- but it does not take that
<gila> i.e export shortcut=/path/to/whatever
<fche> as in an environment variable?
<gila> yes
<fche> then stap -e "foo $shortcut ..." should work in that the shell will interpose the env var value
<fche> (note double quote)
<fche> stap -e 'probe process(@1).function("myfunc") { }' $shortcut ?
<fche> or, since single quotes are easier for stap scripts to be enclosed by
<gila> let me try :)
<gila> stap -L 'process(@1).function("*")' $short <--- that works
<gila> stap -L 'process($short).function("*")' <--- this does not
<fche> yeah, shells don't expand $short type expressions inside single-quoted strings
<fche> you could .... stap -L 'process("'$short'").function("*")' kind of thing, but it looks bad
<gila> Ah ok nice, well i got what i need :) thats great, thanks fche
<fche> np, enjoy
wcohen has quit [Ping timeout: 240 seconds]
gila has quit [Read error: Connection reset by peer]
gila has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
mbenitez has quit [Quit: Leaving]
drsmith_away is now known as drsmith
scox has quit [Ping timeout: 252 seconds]
eck has joined #systemtap
wcohen has joined #systemtap
brolley has left #systemtap [#systemtap]
drsmith is now known as drsmith_away
orivej has quit [Ping timeout: 260 seconds]
tromey has quit [Quit: ERC (IRC client for Emacs 26.0.91)]