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: 240 seconds]
hpt has quit [Ping timeout: 268 seconds]
pwithnall_ has quit [Quit: pwithnall_]
scox has joined #systemtap
wcohen has quit [Ping timeout: 240 seconds]
wcohen has joined #systemtap
irker199 has quit [Quit: transmission timeout]
_whitelogger has joined #systemtap
sanoj has joined #systemtap
hpt has joined #systemtap
sanoj has quit [Ping timeout: 268 seconds]
ton31337 has quit [Read error: Connection reset by peer]
ton31337 has joined #systemtap
hpt has quit [Ping timeout: 248 seconds]
gila has joined #systemtap
sanoj has joined #systemtap
orivej has quit [Ping timeout: 268 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 248 seconds]
gromero has joined #systemtap
gromero has quit [Ping timeout: 264 seconds]
sj0rz has quit [Ping timeout: 252 seconds]
mjw has joined #systemtap
CME has quit [Ping timeout: 240 seconds]
CME has joined #systemtap
sj0rz has joined #systemtap
scox has quit [Ping timeout: 268 seconds]
gromero has joined #systemtap
sanoj has quit [Ping timeout: 264 seconds]
sanoj has joined #systemtap
sanoj is now known as sanoj|brb
hpt has joined #systemtap
hpt has quit [Ping timeout: 252 seconds]
orivej has joined #systemtap
wcohen has quit [Ping timeout: 258 seconds]
sanoj|brb has quit [Ping timeout: 260 seconds]
hpt has joined #systemtap
hpt has quit [Client Quit]
orivej has quit [Ping timeout: 255 seconds]
gila has quit [Ping timeout: 255 seconds]
gila has joined #systemtap
orivej has joined #systemtap
mbenitez has joined #systemtap
mbenitez has joined #systemtap
scox has joined #systemtap
gila has quit [Ping timeout: 258 seconds]
brolley has joined #systemtap
gila has joined #systemtap
wcohen has joined #systemtap
drsmith_away is now known as drsmith
drsmith is now known as drsmith_away
drsmith_away is now known as drsmith
drsmith is now known as drsmith_away
drsmith_away is now known as drsmith
drsmith has left #systemtap [#systemtap]
drsmith has joined #systemtap
mjw has quit [Quit: Leaving]
drsmith is now known as drsmith_away
csurbhi has joined #systemtap
<csurbhi> I am trying to learn how to use system tap
<csurbhi> and running into this error
<csurbhi> error: implicit declaration of function ‘spin_unlock_wait’; did you mean ‘stp_spin_unlock_wait’?
<csurbhi> I am trying to execute the following: sudo stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
<csurbhi> from system tap
<csurbhi> manual
<csurbhi> can anyone help me in resolving this?
<fche> what are your kernel & stap versions ?
<csurbhi> I have compiled 4.14.0+
<csurbhi> with all the config options (DEBUG_INFO, RELAYFS etc on)
<fche> ok what about your stap? stap -V ?
<csurbhi> CONFIG_DEBUG_INFO, CONFIG_KPROBES,
<csurbhi> CONFIG_RELAY, CONFIG_DEBUG_FS,
<csurbhi> CONFIG_MODULES, CONFIG_MODULE_UNLOAD, CONFIG_UTRACE.
<csurbhi> options ^^
mjw has joined #systemtap
<csurbhi> let me see that
<csurbhi> sudo stap -V
<csurbhi> Systemtap translator/driver (version 3.1/0.170, Debian version 3.1-3)
<csurbhi> Copyright (C) 2005-2017 Red Hat, Inc. and others
<csurbhi> This is free software; see the source for copying conditions.
<csurbhi> tested kernel versions: 2.6.18 ... 4.10-rc8
<csurbhi> enabled features: AVAHI LIBSQLITE3 NLS NSS
<fche> I assume the error message included [man error::pass4]
<csurbhi> @fche ^^
<fche> so man error::pass4 includes a paragraph on this sort of situation.
<csurbhi> yeah
<fche> the gist is that your kernel is much newer than your stap, and since kernel api's/abi's routinely change, stap needs to be updated
<csurbhi> oh i see
<csurbhi> thank you
<csurbhi> i will recompile it for 4-10-rc8
<fche> yeah, unfortunately it's a difficult-to-fix problem
<fche> well not exactly
<fche> run whatever kernel you want
<fche> just that if it's much newer than stap, then you should update your copy of stap
<csurbhi> ok
<csurbhi> ok i will try finding the latest copy of stap
<csurbhi> i have tried learning stap for many years and every time ran into some issues and gave it up
<csurbhi> hopefully, this time i will see it through
<csurbhi> thanks fche!
<fche> we'd be glad to help
<fche> was there some reason you needed a fresher-than-distro copy of the kernel?
<csurbhi> yeah, i am trying to see if something works in the latest kernel
<csurbhi> and was planning to use it as a motivation to learn stap
<fche> yeah. if you build latest kernel, and want to run stap against it, you may have to build latest stap to go with it
<csurbhi> ok
<csurbhi> fche, is there a way to make debug symbols for a compiled kernel? or is it enough to simply compile and boot the kernel with the above options. I followed this: https://www.sourceware.org/systemtap/wiki/SystemtapOnDebian
orivej has quit [Ping timeout: 248 seconds]
drsmith_away is now known as drsmith
<fche> the kernel compilation process should create debug data incidentally
<fche> hm, but not sure whether the debian make-kpkg system does that.
<fche> if you hand-build a kernel with CONFIG_DEBUG_INFO, you get all the goods
<fche> make-kpkg ... not sure
orivej has joined #systemtap
mjw has quit [Quit: Leaving]
pwithnall_ has joined #systemtap
mbenitez has quit [Quit: Leaving]
mjw has joined #systemtap
drsmith is now known as drsmith_away
brolley has left #systemtap [#systemtap]
wcohen has quit [Ping timeout: 264 seconds]
mjw has quit [Quit: Leaving]
wcohen has joined #systemtap