summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/socket-trace.meta
blob: 0b26f2fe6df1522fc424ae2254c332b92baefd3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"