| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /usr/share/systemtap/examples/network/ |
| Current File : //usr/share/systemtap/examples/network/socket-trace.meta |
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 instruments each of the functions in the Linux kernel's net/socket.c file. The script prints out trace data. 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 -T 1