| 1 |
title: Track Start and Stop of Processes Due to Network Buffer Space |
| 2 |
name: sk_stream_wait_memory.stp |
| 3 |
version: 1.0 |
| 4 |
author: Fabio Olive Leite at Red Hat |
| 5 |
keywords: network tcp process bpf |
| 6 |
subsystem: network |
| 7 |
status: production |
| 8 |
exit: user-controlled |
| 9 |
output: trace |
| 10 |
scope: system-wide |
| 11 |
description: The sk_stream-wait_memory.stp prints a time stamp, executable, and pid each time a process blocks due to the send buffer being full. A similar entry is printed each time a process continues because there is room in the buffer. |
| 12 |
test_check: stap -p4 sk_stream_wait_memory.stp |
| 13 |
test_installcheck: stap sk_stream_wait_memory.stp -T 1 |
| 14 |
test_check_bpf: stap --bpf -p4 sk_stream_wait_memory.stp |
| 15 |
test_installcheck_bpf: stap --bpf sk_stream_wait_memory.stp -T 1 |