summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorPrerna Saxena <prerna@linux.vnet.ibm.com>2009-11-09 11:36:11 +0530
committerPrerna Saxena <prerna@linux.vnet.ibm.com>2009-11-09 11:36:11 +0530
commita476086d1ef0448c86e466f5955f78d282b473fd (patch)
treec2e4c6752c451de3b1137da53b5095ba664bfaef /man
parentfafeaf8e5874e6855343421b5dd91403fc49c991 (diff)
downloadsystemtap-steved-a476086d1ef0448c86e466f5955f78d282b473fd.tar.gz
systemtap-steved-a476086d1ef0448c86e466f5955f78d282b473fd.tar.xz
systemtap-steved-a476086d1ef0448c86e466f5955f78d282b473fd.zip
IRQ tapset, sample script, testsuite, man page updates, etc
Diffstat (limited to 'man')
-rw-r--r--man/stapprobes.irq.3stap155
-rw-r--r--man/stapprobes.irq.3stap.in155
2 files changed, 310 insertions, 0 deletions
diff --git a/man/stapprobes.irq.3stap b/man/stapprobes.irq.3stap
new file mode 100644
index 00000000..b5315c86
--- /dev/null
+++ b/man/stapprobes.irq.3stap
@@ -0,0 +1,155 @@
+.\" -*- nroff -*-
+.TH STAPPROBES.SNMP 3stap 2009-05-11 "IBM"
+.SH NAME
+stapprobes.irq \- Systemtap probes for IRQ, workqueue,etc
+
+.\" macros
+.de SAMPLE
+.br
+.RS
+.nf
+.nh
+..
+.de ESAMPLE
+.hy
+.fi
+.RE
+..
+
+.SH DESCRIPTION
+
+Probe points for probing irq handler execution, softirqs, workqueues,etc
+
+.P
+.TP
+.B workqueue.create
+probes creation of a new workqueue
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+.I cpu
+ cpu for which the worker thread is created.
+
+.P
+.TP
+.B workqueue.insert
+probes queuing of work on a workqueue.
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+.I work
+ work_struct* being executed.
+.I work_func
+ pointer to handler func.
+
+.P
+.TP
+.B workqueue.execute
+probes execution of deferred work.
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+.I work
+ work_struct* being executed.
+.I work_func
+ pointer to handler func.
+
+.P
+.TP
+.B workqueue.destroy
+probes destruction of each worker thread of each cpu for a workqueue.
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+
+.P
+.TP
+.B irq_handler.entry
+Fires prior to execution of interrupt handler.
+.B Arguments:
+.I irq
+ irq number
+.I action
+ struct irqaction* for this interrupt number
+.I handler
+ interrupt handler function
+.I flags
+ flags for this irq.
+.I flags_str
+ A formatted string of flags.
+.I dev_name
+ name of device
+.I dev_id
+ cookie to identify device
+.I next_irqaction
+ pointer to next irqaction for shared interrupts
+.I dir
+ pointer to the /proc/irq/NN/name entry
+.I thread_fn
+ interrupt handler function for threaded interrupts
+.I thread
+ thread pointer for threaded interrupts
+.I thread_flags
+ flags related to thread
+
+.P
+.TP
+.B irq_handler.exit
+Fires post execution of interrupt handler.
+.B Arguments:
+.I irq
+ irq number
+.I action
+ struct irqaction* for this interrupt number
+.I ret
+ return value from interrupt handler that just executed.
+.I handler
+ interrupt handler function
+.I flags
+ flags for this irq.
+.I flags_str
+ A formatted string of flags.
+.I dev_name
+ name of device
+.I dev_id
+ cookie to identify device
+.I next_irqaction
+ pointer to next irqaction for shared interrupts
+.I dir
+.I thread_fn
+ interrupt handler function for threaded interrupts
+.I thread
+ thread pointer for threaded interrupts
+.I thread_flags
+ flags related to thread
+
+.P
+.TP
+.B softirq.entry
+triggered just before executing handler for a pending softirq
+.I h
+ struct softirq* for current pending softirq.
+.I vec
+ softirq_action vector
+.I action
+ pointer to softirq handler just about to execute.
+
+.P
+.TP
+.B softirq.exit
+triggered just after executing handler for a pending softirq
+.I h
+ struct softirq* for just executed softirq.
+.I vec
+ softirq_action vector
+.I action
+ pointer to softirq handler that just finished execution.
+
+.SH SEE ALSO
+.IR stap (1),
+.IR stapprobes (3stap)
+
diff --git a/man/stapprobes.irq.3stap.in b/man/stapprobes.irq.3stap.in
new file mode 100644
index 00000000..84eaab16
--- /dev/null
+++ b/man/stapprobes.irq.3stap.in
@@ -0,0 +1,155 @@
+.\" -*- nroff -*-
+.TH STAPPROBES.SNMP 3stap @DATE@ "IBM"
+.SH NAME
+stapprobes.irq \- Systemtap probes for IRQ, workqueue,etc
+
+.\" macros
+.de SAMPLE
+.br
+.RS
+.nf
+.nh
+..
+.de ESAMPLE
+.hy
+.fi
+.RE
+..
+
+.SH DESCRIPTION
+
+Probe points for probing irq handler execution, softirqs, workqueues,etc
+
+.P
+.TP
+.B workqueue.create
+probes creation of a new workqueue
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+.I cpu
+ cpu for which the worker thread is created.
+
+.P
+.TP
+.B workqueue.insert
+probes queuing of work on a workqueue.
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+.I work
+ work_struct* being executed.
+.I work_func
+ pointer to handler func.
+
+.P
+.TP
+.B workqueue.execute
+probes execution of deferred work.
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+.I work
+ work_struct* being executed.
+.I work_func
+ pointer to handler func.
+
+.P
+.TP
+.B workqueue.destroy
+probes destruction of each worker thread of each cpu for a workqueue.
+
+.B Arguments:
+.I wq_thread
+ task_struct of the workqueue thread.
+
+.P
+.TP
+.B irq_handler.entry
+Fires prior to execution of interrupt handler.
+.B Arguments:
+.I irq
+ irq number
+.I action
+ struct irqaction* for this interrupt number
+.I handler
+ interrupt handler function
+.I flags
+ flags for this irq.
+.I flags_str
+ A formatted string of flags.
+.I dev_name
+ name of device
+.I dev_id
+ cookie to identify device
+.I next_irqaction
+ pointer to next irqaction for shared interrupts
+.I dir
+ pointer to the /proc/irq/NN/name entry
+.I thread_fn
+ interrupt handler function for threaded interrupts
+.I thread
+ thread pointer for threaded interrupts
+.I thread_flags
+ flags related to thread
+
+.P
+.TP
+.B irq_handler.exit
+Fires post execution of interrupt handler.
+.B Arguments:
+.I irq
+ irq number
+.I action
+ struct irqaction* for this interrupt number
+.I ret
+ return value from interrupt handler that just executed.
+.I handler
+ interrupt handler function
+.I flags
+ flags for this irq.
+.I flags_str
+ A formatted string of flags.
+.I dev_name
+ name of device
+.I dev_id
+ cookie to identify device
+.I next_irqaction
+ pointer to next irqaction for shared interrupts
+.I dir
+ pointer to the /proc/irq/NN/name entry
+.I thread_fn
+ interrupt handler function for threaded interrupts
+.I thread
+ thread pointer for threaded interrupts
+.I thread_flags
+ flags related to thread
+
+.P
+.TP
+.B softirq.entry
+triggered just before executing handler for a pending softirq
+.I h
+ struct softirq* for current pending softirq.
+.I vec
+ softirq_action vector
+.I action
+ pointer to softirq handler just about to execute.
+
+.P
+.TP
+.B softirq.exit
+triggered just after executing handler for a pending softirq
+.I h
+ struct softirq* for just executed softirq.
+.I vec
+ softirq_action vector
+.I action
+ pointer to softirq handler that just finished execution.
+
+.SH SEE ALSO
+.IR stap (1),
+.IR stapprobes (3stap)