fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
gromero has quit [Quit: Leaving]
gromero has joined #systemtap
orivej has quit [Ping timeout: 245 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 245 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 258 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 246 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 268 seconds]
hpt has joined #systemtap
_whitelogger has joined #systemtap
yogananth has joined #systemtap
hpt has quit [Ping timeout: 245 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 268 seconds]
hpt has joined #systemtap
lindi- has quit [Ping timeout: 250 seconds]
lindi- has joined #systemtap
orivej has joined #systemtap
higgins has quit [Quit: Leaving]
higgins has joined #systemtap
orivej has quit [Ping timeout: 248 seconds]
hpt has quit [Ping timeout: 258 seconds]
gromero has quit [Ping timeout: 252 seconds]
G_SabinoMullane has quit [Remote host closed the connection]
gregwork has quit [Ping timeout: 272 seconds]
gregwork has joined #systemtap
orivej has joined #systemtap
lindi- has quit [Ping timeout: 250 seconds]
lindi- has joined #systemtap
rmilkowski has joined #systemtap
<rmilkowski> hi
<rmilkowski> probe module("sunrpc").function("put_rpccred") {
<rmilkowski> fails with:
<rmilkowski> semantic error: 'struct {...}' (include/linux/uidgid.h:22) is being accessed instead of a member such as '->val': operator '->' at ./put_rpccred.stp:19:33
<rmilkowski> printing other fields work fine (for example: printf("cr_flags: %lu ", $cred->cr_flags)
<rmilkowski> any idea why it fails for $cred->cr_uid?
<fche> rmilkowski, cr_uid must be a struct
<fche> the error message advises trying $cred->cr_uid->val
<rmilkowski> ahh, as . is not allowed there is ->a->val workwround, ok got it
<rmilkowski> thank you!
<rmilkowski> although now on older linux (centos 6.9) I get:
<rmilkowski> semantic error: invalid access '->val' vs. unsigned int: operator '->' at /tmp/put_rpccred.stp:19:41
<rmilkowski> while it works on centos 7.5
<rmilkowski> if I remove ->val then it works there... any way to get it working on both?
orivej has quit [Ping timeout: 245 seconds]
<fche> yeah, different versions of linux have unfortunately changed the declaration
<fche> you could do somethign like @defined($cred->cr_uid->val) ? $cred->cr_uid->val : $cred->cr_uid
irker794 has joined #systemtap
<irker794> systemtap: fche systemtap.git:refs/heads/master * release-4.1-56-g16bf9d3 / systemtap.spec: rhbz1732514: java runtime requires java-devel http://tinyurl.com/y4vzwarv
<rmilkowski> works on both now, thank you!
<fche> righto
tromey has joined #systemtap
jistone has quit [Ping timeout: 248 seconds]
amerey has quit [Ping timeout: 244 seconds]
jistone has joined #systemtap
amerey has joined #systemtap
amerey has quit [Quit: Leaving]
orivej has joined #systemtap
amerey has joined #systemtap
orivej has quit [Ping timeout: 272 seconds]
gromero has joined #systemtap
khaled has joined #systemtap
amerey_ has joined #systemtap
amerey has quit [Ping timeout: 244 seconds]
amerey_ has quit [Quit: Leaving]
amerey has joined #systemtap
orivej has joined #systemtap
lindi- has quit [Ping timeout: 250 seconds]
lindi- has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 26.1)]
khaled has quit [Quit: Konversation terminated!]
gromero has quit [Ping timeout: 248 seconds]
jistone has quit [Quit: ZNC - http://znc.in]
amerey has quit [Read error: Connection reset by peer]
jistone has joined #systemtap
amerey has joined #systemtap