'\" t .\" Title: relay_late_setup_files .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: relay interface support .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "RELAY_LATE_SETUP_FIL" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "relay interface support" .\" ----------------------------------------------------------------- .\" * 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" relay_late_setup_files \- triggers file creation .SH "SYNOPSIS" .HP \w'int\ relay_late_setup_files('u .BI "int relay_late_setup_files(struct\ rchan\ *\ " "chan" ", const\ char\ *\ " "base_filename" ", struct\ dentry\ *\ " "parent" ");" .SH "ARGUMENTS" .PP \fIchan\fR .RS 4 channel to operate on .RE .PP \fIbase_filename\fR .RS 4 base name of files to create .RE .PP \fIparent\fR .RS 4 dentry of parent directory, \fBNULL\fR for root directory .RE .SH "DESCRIPTION" .PP Returns 0 if successful, non\-zero otherwise\&. .PP Use to setup files for a previously buffer\-only channel\&. Useful to do early tracing in kernel, before VFS is up, for example\&. .SH "COPYRIGHT" .br