Puzzling output of stp script

Mark Wielaard mark@klomp.org
Sun Dec 25 23:59:00 GMT 2011


On Sun, Dec 25, 2011 at 11:09:52AM +0000, Adrien Kunysz wrote:
> And that particular example was already fixed a while ago btw:
> http://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commitdiff;h=396afcee5ada2d207b7a6691d4b7ce473e7b2a65

But it was still used in at least two places, the tutorial and beginner's
guide, without the .call modifier. Fixed those too and added Josh's
suggestion as an exercise:

commit 2e96e9163d84fe9772def0318216a6d6da1332a2
Author: Mark Wielaard <mjw@redhat.com>
Date:   Sun Dec 25 20:56:53 2011 +0100

  Use function.call and function.return in all thread_indent() examples.
    
  If the .call modifier isn't used the function probes will match both .call
  and .inline, but .return doesn't match any inlined functions leading to
  unbalanced thread_indent output.

Cheers,

Mark



More information about the Systemtap mailing list