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 quit [Ping timeout: 252 seconds]
introom has joined #systemtap
RustJason has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RustJason has joined #systemtap
mjw has joined #systemtap
pwithnall____ has joined #systemtap
RustJason has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #systemtap
pwithnall____ has quit [Ping timeout: 240 seconds]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 240 seconds]
hpt has joined #systemtap
hpt has quit [Quit: Lost terminal]
scox has joined #systemtap
wcohen has quit [Ping timeout: 240 seconds]
drsmith_away is now known as drsmith
__positron has joined #systemtap
<__positron> I have built and installed a custom kernel based on v4.8.4 on my Ubuntu 14.04. I would like to inspect skb inside the function __netif_receive_skb_core. I probed this function during call and printed out $skb$$. The fields are filled with the address of $skb. I have also tried by printing it with $params$$. Do you have any suggestions on what could have gone wrong?
<fche> __positron, could you fpaste.org your script and its output ?
<fche> and also stap -V ?
<__positron> fche: version 3.2/0.158, commit release-3.1-59-g35c6bf4e9242
<fche> ok, brand new
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
mbenitez has joined #systemtap
<fche> ok, so that seems to be working appropriately
<fche> pointers inside these structures won't be followed for pretty-printing purposes, only nested structs
<fche> which part of $skb are you interested in?
<__positron> Ah. I see. If that's the case, printing with $skb->member should work. Right? I am interested in skb->protocol for now. I am debugging a custom network driver in which the packets are dropped during reception. So, I am more or less interested in all the interesting fields that would shed light on why the packet might get dropped.
<__positron> I have tried it with $skb->len and $skb->protocol. I don't see any sane values. https://paste.fedoraproject.org/paste/U9hmEEFXmONpPKIHtwlLV15M1UNdIGYhyRLivL9gydE=
wcohen has joined #systemtap
<fche> that does look like bad data
<fche> just checking: is that structure supposed to be initialized at function call entry time?
<fche> yeah, must be
<fche> see also kernel tracepoint ways of getting at closely related events
<__positron> I guess it should be. To cross check I tried using the same probe function on a different machine with 4.4.0-75-generic and version 2.9/0.165, Debian version 2.9-2ubuntu2 (xenial). It gives me sane result.
<fche> probe kernel.trace("netif_rx") { println ($skb->len) } e.g.
<fche> % stap -L 'kernel.trace("netif_*")'
<fche> kernel.trace("net:netif_rx_entry") $skb:struct sk_buff const*
<fche> kernel.trace("net:netif_rx") $skb:struct sk_buff*
<fche> kernel.trace("net:netif_receive_skb_entry") $skb:struct sk_buff const*
<fche> kernel.trace("net:netif_receive_skb") $skb:struct sk_buff*
<fche> kernel.trace("net:netif_rx_ni_entry") $skb:struct sk_buff const*
tromey has joined #systemtap
<__positron> Surprisingly, probing the tracepoint doesn't print any result on v4.8.4 kernel. I checked with -v flag, it compiles and runs fine. But no result.
<fche> which tracepoint did you try?
<fche> I just named a random one to give the idea
<__positron> stap -v -e 'probe kernel.trace("net:netif_rx") { println ($skb->len) }'
<__positron> I tried without net: prefix too.
<fche> oh hold on a bit
<fche> you're using git systemtap
<fche> we're tracking down a regression related to the merge of the bpf backend prototype
<fche> could you go back to the 3.1 release and try again?
brolley has joined #systemtap
<__positron> :facepalm: I shouldn't have tried it with the latest master. building it now.
<fche> no I mean -not- the latest master
<fche> we know there are some problems in the latest master. I'm suggesting going back to the previous release
<__positron> yeah. I agree. latest master is not always a good starting point. I switched to v3.1 and it works fine. Thank you so much.
<fche> thanks. it usually is a fine version to use
<fche> this particular regression is very unusual and should be fixed in a few days
RustJason has joined #systemtap
RustJason has quit [Ping timeout: 260 seconds]
pwithnall____ has joined #systemtap
wcohen has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
CustosLimen has joined #systemtap
wcohen has joined #systemtap
mjw has quit [Quit: Leaving]
atomlin has quit [Ping timeout: 255 seconds]
atomlin has joined #systemtap
irker262 has joined #systemtap
<irker262> systemtap: dsmith systemtap.git:refs/heads/master * release-3.1-60-g5c5a0bf / Makefile.am Makefile.in config.in configure configure.ac httpd/Makefile.am httpd/Makefile.in httpd/main.cxx httpd/server.cxx httpd/server.h: Added initial http web service server code. http://tinyurl.com/mbsx7n4
wcohen has quit [Ping timeout: 240 seconds]
scox has quit [Ping timeout: 240 seconds]
pwithnall____ has quit [Quit: pwithnall____]
mbenitez has quit [Quit: Leaving]
pwithnall__ has joined #systemtap
drsmith is now known as drsmith_away
brolley has left #systemtap [#systemtap]
wcohen has joined #systemtap
pwithnall__ has quit [Quit: pwithnall__]
orivej has quit [Ping timeout: 255 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 276 seconds]
irker262 has quit [Quit: transmission timeout]