summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/interrupt
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-11-23 19:08:51 -0500
committerDave Brolley <brolley@redhat.com>2009-11-23 19:08:51 -0500
commit5d1c958ce2dcc0f28c1bd13b8e005c0c2ad1cdba (patch)
treee44ad8807e0b5b2e1bb85682f677d492f1195dbf /testsuite/systemtap.examples/interrupt
parent562d60b004e3d7ae73c1c7508be529006bd6430f (diff)
parent90bba7158de040705a101ba1fdf6062866b4b4e9 (diff)
downloadsystemtap-steved-5d1c958ce2dcc0f28c1bd13b8e005c0c2ad1cdba.tar.gz
systemtap-steved-5d1c958ce2dcc0f28c1bd13b8e005c0c2ad1cdba.tar.xz
systemtap-steved-5d1c958ce2dcc0f28c1bd13b8e005c0c2ad1cdba.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: configure
Diffstat (limited to 'testsuite/systemtap.examples/interrupt')
-rw-r--r--testsuite/systemtap.examples/interrupt/interrupts-by-dev.meta14
-rwxr-xr-x[-rw-r--r--]testsuite/systemtap.examples/interrupt/interrupts-by-dev.stp0
2 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/interrupt/interrupts-by-dev.meta b/testsuite/systemtap.examples/interrupt/interrupts-by-dev.meta
new file mode 100644
index 00000000..a89038b4
--- /dev/null
+++ b/testsuite/systemtap.examples/interrupt/interrupts-by-dev.meta
@@ -0,0 +1,14 @@
+title: Record interrupts on a per-device basis.
+name: interrupts-by-dev.stp
+version: 1.0
+author: Prerna Saxena (prerna@linux.vnet.ibm.com)
+keywords: interrupt
+subsystem: interrupt
+status: production
+exit: user-controlled
+output: timed
+scope: system-wide
+description: The interrupts-by-dev.stp script profiles interrupts received by each device per 100 ms.
+test_support: stap -l 'kernel.trace("irq_handler_entry")'
+test_check: stap -p4 interrupts-by-dev.stp
+test_installcheck: stap interrupts-by-dev.stp -c "sleep 0.2"
diff --git a/testsuite/systemtap.examples/interrupt/interrupts-by-dev.stp b/testsuite/systemtap.examples/interrupt/interrupts-by-dev.stp
index 3bcfd5e1..3bcfd5e1 100644..100755
--- a/testsuite/systemtap.examples/interrupt/interrupts-by-dev.stp
+++ b/testsuite/systemtap.examples/interrupt/interrupts-by-dev.stp