summaryrefslogtreecommitdiffstats
path: root/tapset/context-unwind.stp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-11-28 20:22:41 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-11-28 20:22:41 -0500
commitb08d49f067a3ea84bc399855c669345b4e509d10 (patch)
tree8e2ac34790334bece53e352ed7d6006023f460ac /tapset/context-unwind.stp
parent82762adc9d7e77cdce48a87a477a47fb9e14ecd9 (diff)
downloadsystemtap-steved-b08d49f067a3ea84bc399855c669345b4e509d10.tar.gz
systemtap-steved-b08d49f067a3ea84bc399855c669345b4e509d10.tar.xz
systemtap-steved-b08d49f067a3ea84bc399855c669345b4e509d10.zip
PR 6965: tweak symbol/unwind control macros to STP_NEED_{UNWIND,SYMBOL}_DATA
Diffstat (limited to 'tapset/context-unwind.stp')
-rw-r--r--tapset/context-unwind.stp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tapset/context-unwind.stp b/tapset/context-unwind.stp
index c53de8f0..a0836ed6 100644
--- a/tapset/context-unwind.stp
+++ b/tapset/context-unwind.stp
@@ -1,5 +1,5 @@
// context-unwind tapset
-// Copyright (C) 2005, 2006, 2007 Red Hat Inc.
+// Copyright (C) 2005-2008 Red Hat Inc.
// Copyright (C) 2006 Intel Corporation.
//
// This file is part of systemtap, and is free software. You can
@@ -8,11 +8,11 @@
// later version.
%{
-#ifndef STP_USE_DWARF_UNWINDER
-#define STP_USE_DWARF_UNWINDER 1
+#ifndef STP_NEED_UNWIND_DATA
+#define STP_NEED_UNWIND_DATA 1
#endif
-#ifndef NEED_SYMBOL_DATA
-#define NEED_SYMBOL_DATA 1
+#ifndef STP_NEED_SYMBOL_DATA
+#define STP_NEED_SYMBOL_DATA 1
#endif
%}
@@ -68,4 +68,4 @@ function caller_addr:long () %{ /* pure */
THIS->__retvalue = (int64_t)(long)_stp_ret_addr_r(CONTEXT->pi);
else
THIS->__retvalue = 0;
-%} \ No newline at end of file
+%}