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. --- staptree.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'staptree.h') diff --git a/staptree.h b/staptree.h index 7585a01f..b63c6c33 100644 --- a/staptree.h +++ b/staptree.h @@ -1,5 +1,5 @@ // -*- C++ -*- -// Copyright (C) 2005, 2006 Red Hat Inc. +// Copyright (C) 2005-2007 Red Hat Inc. // Copyright (C) 2006 Intel Corporation. // // This file is part of systemtap, and is free software. You can @@ -586,6 +586,7 @@ struct probe virtual void printsig (std::ostream &o) const; virtual probe* basest () { return this; } virtual ~probe() {} + bool privileged; private: static unsigned last_probeidx; public: -- cgit