fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
khaled has quit [Quit: Konversation terminated!]
<agentzh> fche: but then the begin probe is run without vma initialized.
<agentzh> and @var() always returns zero for PIE/PIC.
_whitelogger has joined #systemtap
_whitelogger has joined #systemtap
<agentzh> alas, it seems there's no way to make sure different task finder targets for the same process run in any particular order.
<agentzh> my previous already-committed patch only handle the callbacks order in the same task finder target (tgt). but among different tgts, it seems quite inconsistent.
<agentzh> maybe we need a mechanism to establish tgt dependencies.
<agentzh> ah, i see what's going on here. in __stp_utrace_task_finder_target_quiesce(), if the context can't sleep, it will call stp_task_work_add (and ultimately task_work_add) to postpone the current tgt, which essentially swaps the execution order of the tgts.
_whitelogger has joined #systemtap
<agentzh> fche: created a PR with more details on this task finder execution order issue: https://sourceware.org/bugzilla/show_bug.cgi?id=26144
<agentzh> feedback welcome!
<agentzh> my previous patch indeed makes no sense. please see my proposed changes in the PR itself.
<agentzh> thanks!
<agentzh> fche: i've noted that centos 6 also uses relay_v2, at least for recent centos 6 stock kernels. but it does not provide inode_lock(), i'll do the compatibility fixes in my patch before committing.
orivej has joined #systemtap
orivej has quit [Ping timeout: 256 seconds]
orivej 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 [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
khaled has joined #systemtap
orivej_ has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
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
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
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #systemtap
orivej has joined #systemtap
orivej_ has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #systemtap
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
zzhm has quit [Quit: Leaving]
sscox has quit [Ping timeout: 265 seconds]
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 joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
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
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
<agentzh> fche: relay v7 patch fixes compilation compatibility with centos 6 which lacks inode_lock and etc: https://gist.github.com/agentzh/517eef2a4d54554b2712c18cb79d214d
<agentzh> now i switched to stap runtime's own wrappers for inode locking/unlocking.
<agentzh> i haven't committed this patch since i'd like to do more testing on more kernels.
<agentzh> it'll be great if you can have another look. thanks!
<fche> agentzh, thanks for your work on this
<fche> today I probably won't be able to take a close look, too many other chores :(
<fche> sorry!
<agentzh> no worries. i just noted my relay locks might lead to deadlocks on centos 6 and 7. i'll dig it up today.
<agentzh> thanks for your quick responses as always!
<agentzh> that's been motivating me a lot ;)
<fche> hey my part is easy - you're doing the hard work on this one :)
<agentzh> your part is not easy for me :) i really needed those important hints to save a lot of time on my side.
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #systemtap
orivej has quit [Read error: Connection reset by peer]
orivej has joined #systemtap
<agentzh> okay, centos 7's kernel-debug helped me pinpoint the deadlock, which is a copy&paste mistake...already fixed. will include the fix in the upcoming v8 patch.
<fche> neat
<agentzh> now lockdep found no issues on centos 7 in my load test for stream mode/bulk mode (with/without percpu headers).
<agentzh> i'm testing centos 6 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
<agentzh> seems like there's no deadlocks on centos 6 either now.
<agentzh> it's essentially using the same code paths as centos 7.
orivej has quit [Ping timeout: 265 seconds]
<fche> nicew
orivej has joined #systemtap
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #systemtap
orivej_ has joined #systemtap
orivej has quit [Read error: Connection reset by peer]
orivej_ has quit [Ping timeout: 260 seconds]
khaled has quit [Quit: Konversation terminated!]
orivej has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap