From b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7 Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 30 Mar 2007 19:17:02 +0000 Subject: 2007-03-30 Frank Ch. Eigler PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose. --- stapprobes.5.in | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'stapprobes.5.in') diff --git a/stapprobes.5.in b/stapprobes.5.in index 9f97ef01..0df9a893 100644 --- a/stapprobes.5.in +++ b/stapprobes.5.in @@ -157,10 +157,13 @@ variant places a probe at the moment of return from the named function, so the return value is available as the "$return" context variable. The .B .inline -variant is similar to +modifier for .B .function -but probes inline functions. Inline functions do not have an identifiable -return point, so +filters the results to include only instances of inlined functions. +The +.B .call +modifier selects the opposite subset. Inline functions do not have an +identifiable return point, so .B .return is not supported on .B .inline @@ -171,15 +174,20 @@ that are visible there. .SAMPLE kernel.function(PATTERN) .br +kernel.function(PATTERN).call +.br kernel.function(PATTERN).return .br -kernel.inline(PATTERN) +kernel.function(PATTERN).inline .br module(MPATTERN).function(PATTERN) .br +module(MPATTERN).function(PATTERN).call +.br module(MPATTERN).function(PATTERN).return .br -module(MPATTERN).inline(PATTERN) +module(MPATTERN).function(PATTERN).inline +.br .br kernel.statement(PATTERN) .br -- cgit