fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
derek0883 has quit [Ping timeout: 240 seconds]
derek0883 has joined #systemtap
derek088_ has joined #systemtap
derek0883 has quit [Read error: Connection reset by peer]
hpt has joined #systemtap
sapatel has quit [Remote host closed the connection]
derek088_ has quit [Ping timeout: 264 seconds]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
zodbot has quit [Remote host closed the connection]
zodbot has joined #systemtap
irker644 has quit [Quit: transmission timeout]
khaled has joined #systemtap
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap
mjw has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
<agentzh> fche: v5 patch is ready and tested: https://gist.github.com/agentzh/3e8267cfcf111563f7d7da17d474e5cc
<agentzh> i spent hours testing various different macro settings affected by this patch :P
<agentzh> it should be solid now.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
Amy1 has quit [Quit: WeeChat 2.2]
Amy has joined #systemtap
Amy is now known as Guest78591
Guest78591 is now known as amy
amy is now known as Guest59217
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #systemtap
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
zzhm has joined #systemtap
orivej has joined #systemtap
zzhm has quit [Ping timeout: 240 seconds]
<fche> agentzh, yeah that looks good to me
orivej has quit [Ping timeout: 258 seconds]
zamba has joined #systemtap
<zamba> i'm attempting to get systemtap working on my ubuntu 20.04, but getting the following: ERROR: Couldn't insert module '/tmp/stapQdncqZ/stap_4686639b05b6bd6593af2199b04f2013_26378.ko': Operation not permitted
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
<fche> does dmesg offer any information?
<fche> zamba, ^^
<zamba> [772759.025631] Lockdown: staprun: unsigned module loading is restricted; see man kernel_lockdown.7
<zamba> ah
<fche> yeah
<fche> so probably need module signing goo as per secureboot https://sourceware.org/systemtap/wiki/SecureBoot
orivej_ has joined #systemtap
orivej has quit [Ping timeout: 256 seconds]
<zamba> oh...
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
hpt has quit [Quit: Lost terminal]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #systemtap
orivej has joined #systemtap
orivej_ has quit [Read error: Connection reset by peer]
zodbot has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
zodbot has joined #systemtap
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
zzhm has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
orivej has quit [Read error: Connection reset by peer]
orivej has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap
tromey has joined #systemtap
orivej_ has joined #systemtap
orivej has quit [Read error: Connection reset by peer]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
mjw has quit [*.net *.split]
mjw has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #systemtap
orivej_ has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
zzhm has quit [Ping timeout: 246 seconds]
wcohen is now known as wcohen|lunch
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
ChanServ has quit [shutting down]
derek0883 has joined #systemtap
<agentzh> fche: cool, thanks
orivej has quit [Ping timeout: 240 seconds]
wcohen|lunch is now known as wcohen
gromero has quit [Ping timeout: 272 seconds]
gromero has joined #systemtap
ChanServ has joined #systemtap
orivej has joined #systemtap
Guest59217 is now known as linus2
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
sapatel has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej_ has joined #systemtap
<agentzh> fche: noted one strange thing, even a single thread of test, the stream mode would see frequent lock contention on the inode.
<agentzh> *even in
<agentzh> that's strange...
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<agentzh> bulk mode is fine though, even in a 30-thread test.
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
<agentzh> fche: okay, in the single-thread test, enabling relay_flush() is necessary to avoid data loss in the end (stream mode).
<agentzh> i'll just use inode_lock() to protect the original relay_flush() call instead of removing it.
<agentzh> that context should allow sleep, right?
<fche> probably; should verify.
<agentzh> okay, will check the backtrace
<agentzh> also, i need to turn down_write_trylock into a true spinlock.
<agentzh> otherwise the locks are frequently lost even under a single thread.
<agentzh> in stream mode.
<fche> that'd be a different lock then
<agentzh> i still don't understand why stream mode has so much lock contention even for a single thread.
<agentzh> i'll use a bounded hot loop to try down_write_trylock() repeatedly.
<agentzh> it seems working for me.
<agentzh> as from my v1 patch.
<agentzh> if you don't object.
<agentzh> [65827.681940] got inode lock: i=14367: cycles: 538094
<fche> ok, will need to see / think about that patch
<agentzh> the worst case for obtaining the inode lock is like this
<agentzh> sure, will prepare v.
<fche> considered stap tracing that inode locking activity?
<agentzh> *v6
<agentzh> sounds like a good idea
<agentzh> :)
* agentzh is too used to printk now.
<agentzh> will try tracing the locking and unlocking funcs.
<agentzh> hopefully they are not inlined...
<agentzh> fche: the relay_flush() is called with this kernel backtrace: https://gist.github.com/agentzh/1b69ae02864c6bac455081a76da73e23
<agentzh> it should allow sleeping?
<agentzh> looks like syscall context.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
<fche> probably ....
<fche> run it on a lockdep/rawhide kernel to help chekc
orivej_ has joined #systemtap
orivej has quit [Ping timeout: 258 seconds]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
<agentzh> fche: yeah, that would be helpful.
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
orivej_ has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
wcohen has quit [Remote host closed the connection]
wcohen has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
derek0883 has quit [Remote host closed the connection]
<agentzh> fche: alas. stap has compatibility issues with the latest fedora rawhide. even hello world .stp won't compile: https://sourceware.org/bugzilla/show_bug.cgi?id=26142
orivej has joined #systemtap
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #systemtap
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #systemtap
orivej has joined #systemtap
orivej_ has quit [Read error: Connection reset by peer]
derek0883 has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
orivej has quit [Read error: Connection reset by peer]
orivej has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap
orivej_ has joined #systemtap
orivej has quit [Ping timeout: 256 seconds]
<agentzh> fche: ah, i just used stap to trace stap's relay lock contention. the inode locks which ko fail to obtain are all later released by this kernel + user backtrace: https://gist.github.com/agentzh/48d9d93b3bcebff0d0591a9586056b88
<agentzh> i'd say most of them.
<agentzh> some of the samples are staprun's stp_main_loop() function which sends the STP_STOP command to the control channel under "case STP_REQUEST_EXIT:".
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #systemtap
zzhm has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap