Debian Codegraph @

doc/SystemTap_Tapset_Reference/man3/function::switch_file.3stap

raw
1 '\" t
2 .\" Title: function::switch_file
3 .\" Author:
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\" Date: October 2025
6 .\" Manual: Output file switching Tapset
7 .\" Source: SystemTap Tapset Reference
8 .\" Language: English
9 .\"
10 .TH "FUNCTION::SWITCH_FIL" "3stap" "October 2025" "SystemTap Tapset Reference" "Output file switching Tapset"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 function::switch_file \- switch to the next output file
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 switch_file()
36 .fi
37 .SH "ARGUMENTS"
38 .PP
39 None
40 .SH "DESCRIPTION"
41 .PP
42 This function sends a signal to the stapio process, commanding it to rotate to the next output file when output is sent to file(s)\&.
43 .PP
44 The mechanism of switching files was changed by upstream commit 5b39471380a238469c8fc18136f12600e5e9aec7 \&. With this commit, the rotation only works if there is some actual systemtap output\&.
45 .SH SEE ALSO\n
46 .IR tapset::switchfile (3stap)