From 384c5fe974abe35ab11dce4446dc5eed86585a3b Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 7 Aug 2008 16:47:18 -0400 Subject: samples: separate into subdirectories by subsystem --- testsuite/systemtap.examples/network/socket-trace.meta | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testsuite/systemtap.examples/network/socket-trace.meta (limited to 'testsuite/systemtap.examples/network/socket-trace.meta') diff --git a/testsuite/systemtap.examples/network/socket-trace.meta b/testsuite/systemtap.examples/network/socket-trace.meta new file mode 100644 index 00000000..0b26f2fe --- /dev/null +++ b/testsuite/systemtap.examples/network/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" -- cgit