'\" t .\" Title: function::switch_file .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: November 2023 .\" Manual: Output file switching Tapset .\" Source: SystemTap Tapset Reference .\" Language: English .\" .TH "FUNCTION::SWITCH_FIL" "3stap" "November 2023" "SystemTap Tapset Reference" "Output file switching Tapset" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" function::switch_file \- switch to the next output file .SH "SYNOPSIS" .sp .nf switch_file() .fi .SH "ARGUMENTS" .PP None .SH "DESCRIPTION" .PP 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)\&. .PP 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\&. .SH SEE ALSO\n .IR tapset::switchfile (3stap)