fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
orivej has quit [Ping timeout: 252 seconds]
hpt has joined #systemtap
slowfranklin has joined #systemtap
ema_ has quit [Ping timeout: 252 seconds]
serhei has quit [Ping timeout: 244 seconds]
serhei has joined #systemtap
ema has joined #systemtap
hpt_ has joined #systemtap
hpt has quit [Ping timeout: 255 seconds]
dmalcolm has quit [Ping timeout: 252 seconds]
dmalcolm has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
hpt has joined #systemtap
hpt_ has quit [Ping timeout: 246 seconds]
yog_ has joined #systemtap
yog_ has quit [Read error: Connection reset by peer]
yog_ has joined #systemtap
slowfranklin has joined #systemtap
mjw has joined #systemtap
hpt has quit [Ping timeout: 246 seconds]
sscox has quit [Ping timeout: 252 seconds]
mjw has quit [Ping timeout: 240 seconds]
_whitelogger has joined #systemtap
orivej has joined #systemtap
wcohen has quit [Remote host closed the connection]
mjw has joined #systemtap
sscox has joined #systemtap
orivej has quit [Ping timeout: 245 seconds]
mjw has quit [Ping timeout: 240 seconds]
wcohen has joined #systemtap
mjw has joined #systemtap
orivej has joined #systemtap
mjw has quit [Ping timeout: 240 seconds]
mjw has joined #systemtap
gromero_ is now known as gromero
mjw has quit [Ping timeout: 240 seconds]
eichiro_ has joined #systemtap
eichiro has quit [*.net *.split]
eichiro_ is now known as eichiro
tromey has joined #systemtap
mjw has joined #systemtap
<mjw> serhei, that rlimit issue is odd
<mjw> which operation fails?
<mjw> The exhausted across a reboot seems impossible
mjw has quit [Ping timeout: 244 seconds]
mjw has joined #systemtap
khaled has joined #systemtap
mjw has quit [Ping timeout: 252 seconds]
irker309 has joined #systemtap
<irker309> systemtap: smakarov systemtap.git:refs/heads/stapbpf/pr22330 * release-4.0-136-g9c86e8f / bpf-translate.cxx: stapbpf PR22330 fixes :: identify format types of pe_unknown arguments http://tinyurl.com/y4nfgcbw
mjw has joined #systemtap
zodbot has quit [Remote host closed the connection]
<khaled> Hi, I will appreciate if anyone can help me with printing values from a userspace array https://paste.fedoraproject.org/paste/JoTzYhLdh1zkCUr32cG1Dw
<khaled> I want to write a probe which prints the values 1, 10 and 100
<fche> if you put a statement probe at line 11, $arr[0] should work
slowfranklin has quit [Quit: slowfranklin]
<khaled> This is my attempt
<khaled> probe process("./main").function("arrprint").call {
<khaled> printf("arr[0] = %d\n", user_int($arr[0]));
<khaled> }
<khaled> probe process("./main").function("arrprint").return {
<khaled> printf("arr[0] = %d\n", user_int(@entry($arr[0])));
<khaled> }
<fche> .function probes fire at the logical beginning of the function
<fche> at that point, arr is not in scope nor initialized
<fche> use a .statement probe
<khaled> Is this the same for .return?
<fche> .return is documented to fire after the function returns, so yeah $arr will be out of scope by then too
<khaled> It worked, Thanks Frank :)
orivej has quit [Ping timeout: 268 seconds]
<khaled> Can I somehow convert this array to an associative array so I can iterate on it with foreach ?
zodbot has joined #systemtap
khaled has quit [Quit: Konversation terminated!]
<fche> he
<fche> hey
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
tromey has quit [Quit: ERC (IRC client for Emacs 26.1)]
slowfranklin has joined #systemtap
slowfranklin has quit [Client Quit]
sscox has quit [Ping timeout: 245 seconds]
wcohen has quit [Ping timeout: 272 seconds]
orivej has joined #systemtap
wcohen has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
mjw has quit [Remote host closed the connection]
irker309 has quit [Quit: transmission timeout]