summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorgraydon <graydon>2005-09-02 01:13:33 +0000
committergraydon <graydon>2005-09-02 01:13:33 +0000
commit86333c5231e7f07ae56443a72155a59aa8dd1ddb (patch)
tree8a0de3ac4de0d5a31ec6b3533414f59a298e5c64 /testsuite
parent1e36c83be8d088a662081d80e9718eb14bc0556d (diff)
downloadsystemtap-steved-86333c5231e7f07ae56443a72155a59aa8dd1ddb.tar.gz
systemtap-steved-86333c5231e7f07ae56443a72155a59aa8dd1ddb.tar.xz
systemtap-steved-86333c5231e7f07ae56443a72155a59aa8dd1ddb.zip
2005-09-01 Graydon Hoare <graydon@redhat.com>
PR systemtap/1244 * testsuite/buildok/eighteen.stp: New test. * tapsets.cxx (dwflpp::literal_stmt_for_local) (query_statement, query_inline_instance_info) (query_func_info, query_srcfile_line, query_cu) (var_expanding_copy_visitor, visit_target_symbol) (dwarf_derived_probe): Fix 1244.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/buildok/eighteen.stp11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/buildok/eighteen.stp b/testsuite/buildok/eighteen.stp
new file mode 100755
index 00000000..4beda31a
--- /dev/null
+++ b/testsuite/buildok/eighteen.stp
@@ -0,0 +1,11 @@
+#! stap -p4
+
+# this tests access to parameters from prologue-end PC addresses which
+# land inside the scope of an inline instance; the functionality is
+# provided by searching the function's DIE rather than the by PC
+# proximity. (PR 1244)
+
+probe kernel.function("audit_getname@kernel/auditsc.c")
+{
+ log($name);
+}