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 [Ping timeout: 255 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 248 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 240 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 240 seconds]
hpt has joined #systemtap
gromero has joined #systemtap
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 248 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 260 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 264 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 240 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 260 seconds]
mmarchini has quit [Ping timeout: 248 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 248 seconds]
przemoc has quit [Ping timeout: 276 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 240 seconds]
przemoc has joined #systemtap
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 248 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 240 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 240 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 240 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 240 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 248 seconds]
przemoc has quit [Ping timeout: 264 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 240 seconds]
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 248 seconds]
gromero has quit [Ping timeout: 264 seconds]
przemoc has joined #systemtap
gromero has joined #systemtap
przemoc has quit [Ping timeout: 248 seconds]
przemoc has joined #systemtap
przemoc has joined #systemtap
przemoc has quit [Changing host]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 240 seconds]
przemoc has quit [Ping timeout: 240 seconds]
sanoj has joined #systemtap
nkambo_ has joined #systemtap
nkambo__ has quit [Ping timeout: 248 seconds]
sanoj has quit [Quit: Leaving]
sanoj has joined #systemtap
przemoc has joined #systemtap
przemoc has quit [Remote host closed the connection]
przemoc has joined #systemtap
gromero has quit [Ping timeout: 252 seconds]
przemoc has quit [Ping timeout: 248 seconds]
przemoc has joined #systemtap
przemoc has quit [Ping timeout: 240 seconds]
przemoc has joined #systemtap
przemoc has quit [Ping timeout: 240 seconds]
przemoc has joined #systemtap
przemoc has quit [Ping timeout: 246 seconds]
pwithnall_ has joined #systemtap
przemoc has joined #systemtap
jistone has quit [Ping timeout: 248 seconds]
jlebon has quit [Ping timeout: 240 seconds]
jlebon has joined #systemtap
pwithnall_ has quit [Ping timeout: 255 seconds]
jistone has joined #systemtap
sanoj has quit [Ping timeout: 255 seconds]
sanoj has joined #systemtap
przemoc has quit [Ping timeout: 240 seconds]
gila has joined #systemtap
sanoj has quit [Ping timeout: 246 seconds]
przemoc has joined #systemtap
przemoc has quit [Ping timeout: 240 seconds]
przemoc has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
sanoj has joined #systemtap
sanoj has quit [Client Quit]
sanoj has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
mjw has joined #systemtap
hpt has quit [Quit: Lost terminal]
nkambo_ has quit [Ping timeout: 248 seconds]
scox has quit [Ping timeout: 240 seconds]
nkambo_ has joined #systemtap
gila has joined #systemtap
bsingh has joined #systemtap
bsingh has quit [Client Quit]
gromero has joined #systemtap
gromero has quit [Quit: Leaving]
sanoj has quit [Ping timeout: 240 seconds]
scox has joined #systemtap
wcohen has quit [Ping timeout: 240 seconds]
mmarchini has joined #systemtap
mmarchini has quit [Ping timeout: 240 seconds]
mbenitez has joined #systemtap
drsmith_away is now known as drsmith
gromero has joined #systemtap
irker609 has joined #systemtap
<irker609> systemtap: dsmith systemtap.git:refs/heads/master * release-3.1-287-gc207b6f / tapset/linux/tcpmib.stp testsuite/systemtap.examples/network/tcpipstat.stp: Avoid "confusing usage" warnings in tcpmib.stp and the tcpipstat.stp example. http://tinyurl.com/y77x29wm
wcohen has joined #systemtap
gromero has quit [Ping timeout: 240 seconds]
tromey has joined #systemtap
brolley has joined #systemtap
gromero has joined #systemtap
orivej has quit [Read error: Connection reset by peer]
<toothe> Hi all! anyone have a really simple stap example?
<toothe> I've tried several ,but get compilation errors.
<toothe> Apparently this is a common problem across google.
<toothe> not sure if there's a pckage that I'm suppsoed to add - I added the dbgsym kernel image.
<fche> toothe, sure
<fche> the [man stapex] man pages has some little ones e.g.
<fche> compilation errors tend to occur if you're using a kernel much newer than the systemtap version
<fche> we must unfortunately track kernel internal api changes, which are perennial
<toothe> I see. so, I may need go back to an older kernel?
<fche> or a newer systemtap
<toothe> I see. so, I'm using whatever comes by default on Ubuntu 16.10
<fche> depends on the error. git systemtap generally works with anything published in the last 10 years
<toothe> Which I installed last night specifically for this purpose.
<toothe> oh?
<toothe> I would not mind going down that route -- (damn, I could have kept my Linux install...)
<fche> see [man error::pass4] next time for the same tip :-)
nkambo_ has quit []
<toothe> alright back - let me check this out again.
irker609 has quit [Quit: transmission timeout]
mmarchini has joined #systemtap
<toothe> I dont' have a manpage for stapex
<toothe> so, this works: sudo stap -l 'module("rtl8188ee").function("rtl_write*")'
<toothe> I'm literally using this, and getting errors: https://sourceware.org/systemtap/examples/general/helloworld.stp
<fche> can you pastebin the errors?
<fche> it would be a distro packaging error to miss a man page of such exquisite value as stapex
<toothe> notice the first error: lacking kernel symbols.
<toothe> WARNING: Kernel function symbol table missing [man warning::symbols]
<fche> that's fine, it's a warning.
wcohen has quit [Ping timeout: 264 seconds]
<toothe> (I don't have a man page for waring::symbols
<toothe> but, why those compilation errors?
<fche> please consider opening a distro bug - they should be including those man pages.
<fche> the compilation errors are what I was talking about yesterday - your version of stap (runtime) is considerably older than your kernel
<toothe> So, is stap primarily a RHEL product?
<fche> try: uname -a; stap -V
<toothe> oh yes, you did tell me this just a bit ago.
<toothe> Linux pc.localhost 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
<fche> 'primarily a rhel'? not sure how to answer that; we in RH are certainly fans
<toothe> Systemtap translator/driver (version 2.9/0.165, Debian version 2.9-2ubuntu2 (xenial))
<fche> version 2.9 is from 2015 october
<toothe> ouch
<fche> more recent versions of stap identify the tested versions during stap -V
<fche> so building your own copy of systemtap out of git is possible
<fche> hey - and you'll even get man pages.
<toothe> btw, the sourceware.org has your username referenced in the git section :)
<toothe> are you a maintainer/author of it?
<fche> coincidence
<fche> purely
<fche> :-)
* toothe doesn't know you well enough to know if that's sarcasm or not :)
<fche> the ambiguity is part of the delight
<toothe> hm...configure complains I don't have msgfmt :)
<toothe> that's distro-specific
<fche> # apt-get build-dep systemtap
<fche> then try again
<fche> (that's in the stap README)
<toothe> got it :)
<fche> https://wiki.ubuntu.com/Kernel/Systemtap <-- they did a nice job with that page
<fche> though it doesn't mention the version drift problem
<toothe> curious the architecture of this system.
<toothe> oh i see - you were saying the version of systemtap was compiling against older kernel headers...I see
<toothe> so, ubuntu is way beyhind on this package - I get it.
<fche> the systemtap's kernel-interfacing code comes distributed as source code (/usr/share/systemtap/runtime/...)
<fche> that source code assumes a (range of) api version(s)
<toothe> Hm...it isnt' compiling (I installed the source dep packages)
<toothe> bpf-translate.cxx:37:29: fatal error: elfutils/libebl.h: No such file or directory
<toothe> (I know, this isn't your distro, just running into this problem)
<fche> understood
* fche thinks that's in one of the elfutils subpackages
<toothe> with Fedora, does it "just work" ? I ask because I switched specifically to get this one package working.
<toothe> I have all packages that even contain `elf` in it installed.
<toothe> I just checked.
<fche> how about ebl ?
<toothe> hm..searching.
<toothe> searching for `ebl` gets meq uite a few packages. NOt sure which one...let me google this.
<fche> hm try libdw-dev
<fche> ya not sure how exactly debian/ubuntu slices & dices elfutils up
<fche> (on fedora all these bits are simply in elfutils-devel, no slicing & dicing)
pwithnall_ has joined #systemtap
<toothe> I just realized -I ran into this problem elsewhere before.
<toothe> the vmware kernel module also fails to compile - and its this same kernel function
<toothe> in that case I patched it, because it was trivial.
<fche> yeah, these are not hard fixes usually
<fche> but a PITA because they are asynchronous to out-of-tree modules
<toothe> right right -- and I have no idea how to get that missing header/library....
<toothe> damn.
<fche> ok another solution
<fche> you could hand-apply the stap fix for that particular build issue
<fche> getting into heroic territory - and other things may go south, at which point I'll just go into my other room and open something stronger
<toothe> well, I can't compile it to begin with.
<fche> I mean your current /usr/bin/stap binary
<toothe> as in, i could do that, but the package won't compile anyways
<fche> we may be able to patch /usr/share/systemtap/runtime
<toothe> ohh...heh
<fche> https://sourceware.org/bugzilla/show_bug.cgi?id=19990 = stap commit e7c42c3a9fa0c442ae59a15ccf256224c27ef745
<fche> hm, that's not pure runtime
<toothe> so..hm..I don't seem to have that.
<fche> it's around there somewhere
<fche> /usr/local/share/systemtap/runtime/
<fche> hm /usr/local/ ... interesting ... who built a distro program under /usr/local for you?
<fche> In file included from /usr/local/share/systemtap/runtime/linux/runtime.h:209:0,
<fche> etc
<fche> a wait never mind,
<fche> was looking at the wrong thing
<fche> /usr/share/systemtap/runtime/linux/access_process_vm.h
wcohen has joined #systemtap
eichiro has quit [Quit: Lost terminal]
eichiro has joined #systemtap
eichiro has quit [Client Quit]
darvon has quit [Remote host closed the connection]
darvon has joined #systemtap
eichiro has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
tromey has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
orivej has joined #systemtap
brolley has left #systemtap [#systemtap]
<mjw> libebl.h isn't really a public api. You won't need it with newer elfutils. It is just a hack for older elfutils that don't have the string section functions publicly.
mbenitez has quit [Ping timeout: 248 seconds]
mjw has quit [Quit: Leaving]
drsmith is now known as drsmith_away
<toothe> Just installed Fedora - going to install Fedora Cinnamon instead.
<toothe> I'm not that religious on which linux distro I run, but I have a few preferences.
pwithnall_ has quit [Ping timeout: 255 seconds]
<fche> <judge dredd>I will allow it.</>
* fche runs xfce4 on normal fedora
irker880 has joined #systemtap
<irker880> systemtap: amerey systemtap.git:refs/heads/master * release-3.1-288-gcf8d5f1 / bpf-internal.h bpf-translate.cxx configure main.cxx parse.cxx stapbpf/bpfinterp.cxx stapbpf/libbpf.c stapbpf/stapbpf.cxx tapset/bpf/exit.stp tapset/logging.stp: stapbpf: fix printf(), add exit() http://tinyurl.com/ybgg9bhv
<irker880> systemtap: amerey systemtap.git:refs/heads/master * release-3.1-289-gcbc1697 / stapbpf/stapbpf.cxx tapset/bpf/exit.stp tapset/logging.stp tapsets.cxx: stapbpf: fix kprobe registration bugs http://tinyurl.com/y74etg8y