From 37ebca01742fea41602ecb5b471d3367a1e2c64b Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 22 Mar 2007 20:54:27 +0000 Subject: 2007-03-22 Frank Ch. Eigler PR 4224. * staptree.h (probe): Add privileged field. * elaborate.cxx, parse.cxx: Pass privileged flag to probes. * tapsets.cxx (dwarf_query): Add has_absolute field. (dwarf_derived_probe ctor): Tolerate it. (register_patterns): Expose it. (dwarf_builder::build): Implement it with no dwfl whatsoever. * NEWS: Document kernel.statement().absolute. * stapprobes.5.in: Ditto. 2007-03-22 Frank Ch. Eigler PR 4224. * systemtap.base/probefunc.exp: Use kernel.statement().absolute instead with grep-found schedule_tick address. * semko/thirtyseven.stp, thirtyeight.stp: New tests. * buildok/twentyeight.stp: New test. 2007-03-22 Frank Ch. Eigler * sym.c (_stp_module_relocate): Tolerate empty section string. --- stapprobes.5.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'stapprobes.5.in') diff --git a/stapprobes.5.in b/stapprobes.5.in index 59daee8e..9f97ef01 100644 --- a/stapprobes.5.in +++ b/stapprobes.5.in @@ -183,6 +183,8 @@ module(MPATTERN).inline(PATTERN) .br kernel.statement(PATTERN) .br +kernel.statement(ADDRESS).absolute +.br module(MPATTERN).statement(PATTERN) .ESAMPLE In the above list, MPATTERN stands for a string literal that aims to @@ -200,7 +202,9 @@ wildcard pattern, such as Finally, the third part is optional if the file name part was given, and identifies the line number in the source file, preceded by a ":". As an alternative, PATTERN may be a numeric constant, indicating an -(module-relative or kernel-absolute) address. +(module-relative or kernel-_stext-relative) address. In guru mode +only, absolute kernel addresses may be specified with the ".absolute" +suffix. .PP Some of the source-level variables, such as function parameters, locals, globals visible in the compilation unit, may be visible to -- cgit