fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
<kerneltoast> didja fixit yet
<fche> patience pedewan
<kerneltoast> SLACKER
<fche> well I never!!!
<fche> ... why on earth does that probe body even have lock code emitted into it ... I see no globals being used
<fche> just a print
<fche> and anyway in that .c file
<kerneltoast> yeah i've seen quite a few empty locks[]
<fche> ok, wild, that should be an easy optimization to add (back)
<kerneltoast> i got a more interesting backtrace for ya
<fche> but doesn't explain the problem here
<kerneltoast> static inline void _stp_runtime_entryfn_put_context(struct context *c)
<kerneltoast> if (c) {
<kerneltoast> {
<kerneltoast> + BUG_ON(!preempt_count());
<kerneltoast> if (c == _stp_runtime_get_context())
<kerneltoast> atomic_dec(&c->busy);
<kerneltoast> /* else, warn about bad state? */
<fche> ummm wait is preempt_count() the right metric?
<fche> the stapiu_probe_handler calls at the least local_irq_save
<kerneltoast> yeah it's the right metric
<kerneltoast> stapiu_probe_handler doesn't cover the panic in the backtrace with the irq save
<kerneltoast> that occurs at the stapiu_probe_handler()
<fche> begin/end probes do not normally bother with local-irq
<fche> just preempt_disable in entryfn_get_context
<fche> in the first case, where you had put the BUGON on the get_context
<fche> isn't that block just a few lines below a preempt_disable(); call?
<kerneltoast> !preempt_count() means that preempt is *enabled*
<fche> how can that be?
<kerneltoast> the problem lies elsewhere
<kerneltoast> there's an unbalanced preempt enable
<kerneltoast> the BUG_ON(!preempt_count()); in _stp_runtime_entryfn_put_context means that preempt is about to be re-enabled despite already being enabled
<fche> right
<fche> ok yes that would explain things, but I thought the kernel warns if the preempt count goes negative
<kerneltoast> this is a 3.10 kernel
<kerneltoast> it only warns you after it panics
<kerneltoast> i bet it doesn't have the machinery to warn on preempt count going negative
<kerneltoast> fche, i added the .c and .ko artifacts to this gist: https://gist.github.com/kerneltoast/9f1d409da81908f694b8f7f6df89f160
<kerneltoast> fche, how can i make the testsuite modules get built with debug symbols?
<fche> -BCONFIG_DEBUG_INFO=y I believe
<kerneltoast> make installcheck RUNTESTFLAGS=' -BCONFIG_DEBUG_INFO=y' ?
<fche> nah, that's an stap flag
<kerneltoast> what do
irker378 has joined #systemtap
<irker378> systemtap: fche systemtap.git:master * release-4.3-137-gafe0acfac / runtime/transport/relay_v2.c: transport relay_v2: drop "dropped" facility
<irker378> systemtap: fche systemtap.git:master * release-4.3-138-g7615cae79 / buildrun.cxx runtime/linux/autoconf-lockdown-debugfs.c runtime/procfs.c runtime/transport/control.c runtime/transport/debugfs.c runtime/transport/procfs.c runtime/transport/relay_v2.c runtime/transport/transport.c runtime/transport/transport.h staprun/ctl.c staprun/relay.c testsuite/buildok/trans-debugfs.stp testsuite/buildok/trans-procfs.stp: PR26665: relayfs-on-pr
<irker378> systemtap: fche systemtap.git:master * release-4.3-139-g471111339 / testsuite/buildok/floatingpoint.stp: testsuite tweak: buildok/floatingpoint.stp chmod a+x
hpt has joined #systemtap
<irker378> systemtap: fche systemtap.git:master * release-4.3-140-g1a4c75501 / : pre-release: update-docs
<kerneltoast> guess you're going forth with the release eh
<kerneltoast> with some luck maybe I'll have this fixed by the end of the week
orivej has quit [Ping timeout: 260 seconds]
* fche hands you all my secret lucky gems
derek0883 has quit [Remote host closed the connection]
<irker378> systemtap: fche systemtap.git:master * release-4.3-141-gf3cc67f98 / testsuite/systemtap.examples/index.html testsuite/systemtap.examples/index.txt testsuite/systemtap.examples/keyword-index.html testsuite/systemtap.examples/keyword-index.txt testsuite/systemtap.examples/metadatabase.db: pre-release: regenerate example index
<irker378> systemtap: fche systemtap.git:master * release-4.3-142-g988f439af / NEWS session.cxx systemtap.spec: pre-release: version timestamping, NEWS tweaks
<irker378> systemtap: fche systemtap.git:release-4.4 * release-4.4 / NEWS session.cxx systemtap.spec: pre-release: version timestamping, NEWS tweaks
derek0883 has joined #systemtap
amerey has quit [Ping timeout: 246 seconds]
derek0883 has quit [Remote host closed the connection]
khaled__ 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 [Remote host closed the connection]
derek0883 has joined #systemtap
irker378 has quit [Quit: transmission timeout]
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: 244 seconds]
derek0883 has joined #systemtap
orivej has joined #systemtap
derek0883 has quit [Remote host closed the connection]
lijunlong has quit [Ping timeout: 256 seconds]
lijunlong has joined #systemtap
orivej has quit [Ping timeout: 272 seconds]
khaled__ has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
orivej has joined #systemtap
jlevon has joined #systemtap
jlevon has left #systemtap ["Leaving"]
hpt has quit [Quit: Lost terminal]
tromey has joined #systemtap
amerey has joined #systemtap
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
sscox has quit [Ping timeout: 260 seconds]
sscox has joined #systemtap
irker300 has joined #systemtap
<irker300> systemtap: alizhang systemtap.git:azhang/pr13838-f32 * release-4.3-137-gddd0f5ef6 / main.cxx runtime/softfloat.c runtime/softfloat.h runtime/softfloat/internals.h runtime/softfloat/primitives.h runtime/softfloat/specialize.h tapset/floatingpoint.stp testsuite/buildok/floatingpoint.stp: PR13838: Add float32 support and corresponding test cases
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 [Remote host closed the connection]
derek0883 has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 27.1.50)]
derek0883 has quit [Remote host closed the connection]
<irker300> systemtap: alizhang systemtap.git:azhang/pr13838-f32 * release-4.3-138-g59e694673 / runtime/softfloat.c tapset/floatingpoint.stp: PR13838: get rid of unused functions
derek0883 has joined #systemtap
amerey has quit [Ping timeout: 264 seconds]