summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-09-23 07:41:47 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-09-23 07:41:47 -0400
commit450718c9c424bce67e8580183788380431f90434 (patch)
tree8b91626b7f54d4522d39fd8178dbeba80b2a415d /testsuite
parent6a7aa1a180807e49cfeeccdb0eb460b41092a229 (diff)
downloadsystemtap-steved-450718c9c424bce67e8580183788380431f90434.tar.gz
systemtap-steved-450718c9c424bce67e8580183788380431f90434.tar.xz
systemtap-steved-450718c9c424bce67e8580183788380431f90434.zip
PR10390: ftrace() tapset function
* tapset/logging.stp (ftrace): New function. (*): Add kerneldoc to other functions. * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Process logging.stp. * stapfuncs.3stap.in: Remove "LOGGING" section, now redundant. * runtime/autoconf-trace-printk.c: New autoconf test. * buildrun.cxx (compile_pass): Build it. * NEWS: Mention it. * testsuite/buildok/logging.stp: Test it.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/buildok/logging.stp11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/buildok/logging.stp b/testsuite/buildok/logging.stp
new file mode 100644
index 00000000..636770c7
--- /dev/null
+++ b/testsuite/buildok/logging.stp
@@ -0,0 +1,11 @@
+#! stap -p4
+
+// build-test the logging tapset functions
+
+probe begin {
+ ftrace("ftrace")
+ log("log")
+ warn("warn")
+ exit()
+ error("error")
+}