summaryrefslogtreecommitdiffstats
path: root/hash.cxx
diff options
context:
space:
mode:
authorfche <fche>2007-02-09 13:45:49 +0000
committerfche <fche>2007-02-09 13:45:49 +0000
commit44f753868fd81e3b5c614acc3a4898d5c812a610 (patch)
tree459dbe716908765a6d0c36fcb71812d7a30eb2d1 /hash.cxx
parent7d678473f851dadc2f5a4f6fe1a0bc7635750585 (diff)
downloadsystemtap-steved-44f753868fd81e3b5c614acc3a4898d5c812a610.tar.gz
systemtap-steved-44f753868fd81e3b5c614acc3a4898d5c812a610.tar.xz
systemtap-steved-44f753868fd81e3b5c614acc3a4898d5c812a610.zip
2007-02-09 Frank Ch. Eigler <fche@elastic.org>
PR 3965 * configure.ac: Add --enable-prologue option. * configure, config.in: Regenerated. * session.h (prologue_searching): New field. * main.cxx (main): Parse new "-P" option. Initialize based on autoconf flag. * stap.1.in, NEWS: Document it. * hash.cxx (find_hash): Include it in computation. * tapsets.cxx (query_func_info, query_cu): Respect it. 2007-02-09 Frank Ch. Eigler <fche@elastic.org> * systemtap.base/prologue.*: New test case.
Diffstat (limited to 'hash.cxx')
-rw-r--r--hash.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/hash.cxx b/hash.cxx
index b1440377..e1e24af9 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -1,5 +1,5 @@
// Copyright (C) Andrew Tridgell 2002 (original file)
-// Copyright (C) 2006 Red Hat Inc. (systemtap changes)
+// Copyright (C) 2006-2007 Red Hat Inc. (systemtap changes)
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -97,6 +97,7 @@ find_hash (systemtap_session& s, const string& script)
h.add(s.bulk_mode); // '-b'
h.add(s.merge); // '-M'
h.add(s.timing); // '-t'
+ h.add(s.prologue_searching); // '-P'
for (unsigned i = 0; i < s.macros.size(); i++)
h.add(s.macros[i]);