diff options
author | William Cohen <wcohen@redhat.com> | 2008-05-09 16:36:13 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-05-09 16:36:13 -0400 |
commit | d9b47a1d2744d0c8f2a3f74ea3705b9d10916b5b (patch) | |
tree | 7fc93232804de8f204058c9c0b19654090d0abd8 /testsuite/systemtap.examples/socket-trace.meta | |
parent | 0382b42d78fb0d6355b0bec2219fbdc2ef9dca8c (diff) | |
download | systemtap-steved-d9b47a1d2744d0c8f2a3f74ea3705b9d10916b5b.tar.gz systemtap-steved-d9b47a1d2744d0c8f2a3f74ea3705b9d10916b5b.tar.xz systemtap-steved-d9b47a1d2744d0c8f2a3f74ea3705b9d10916b5b.zip |
Add syscalls_by_pid.meta, syscalls_by_proc.meta,
sigmon.meta, sig_by_pid.meta, sig_by_proc.meta, and socket-trace.meta.
Diffstat (limited to 'testsuite/systemtap.examples/socket-trace.meta')
-rw-r--r-- | testsuite/systemtap.examples/socket-trace.meta | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/socket-trace.meta b/testsuite/systemtap.examples/socket-trace.meta new file mode 100644 index 00000000..0b26f2fe --- /dev/null +++ b/testsuite/systemtap.examples/socket-trace.meta @@ -0,0 +1,13 @@ +title: Trace Functions called in Network Socket Code +name: socket-trace.stp +version: 1.0 +author: anonymous +keywords: network socket +subsystem: network +status: production +exit: user-controlled +output: trace +scope: system-wide +description: The script instrument each of the functions inn the Linux kernel's net/socket.c file. The script prints out trace. The first element of a line is time delta in microseconds from the previous entry. This is followed by the command name and the PID. The "->" and "<-" indicates function entry and function exit, respectively. The last element of the line is the function name. +test_check: stap -p4 socket-trace.stp +test_installcheck: stap socket-trace.stp -c "sleep 1" |