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. --- NEWS | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a3d705d6..9347675c 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,22 @@ preemption disabled). This will allow begin/end probes to be longer, to support generating longer reports. +- The numeric forms of kernel.statement() and kernel.function() probe points + are now interpreted as relocatable values - treated as relative to the + _stext symbol in that kernel binary. Since some modern kernel images + are relocated to a different virtual address at startup, such addresses + may shift up or down when actually inserted into a running kernel. + + kernel.statement(0xdeadbeef): validated, interpreted relative to _stext, + may map to 0xceadbeef at run time. + + In order to specify unrelocated addresses, use the new ".absolute" + probe point suffix for such numeric addresses. These are only + allowed in guru mode, and provide access to no $target variables. + They don't use debugging information at all, actually. + + kernel.statement(0xfeedface).absolute: raw, unvalidated, guru mode only + * What's new since version 0.5.10? - Offline processing of debugging information, enabling general -- cgit