table of contents
RELAY_LATE_SETUP_FIL(9) | relay interface support | RELAY_LATE_SETUP_FIL(9) |
NAME¶
relay_late_setup_files - triggers file creation
SYNOPSIS¶
int relay_late_setup_files(struct rchan * chan, const char * base_filename, struct dentry * parent);
ARGUMENTS¶
struct rchan * chan
const char * base_filename
struct dentry * parent
DESCRIPTION¶
Returns 0 if successful, non-zero otherwise.
Use to setup files for a previously buffer-only channel created by relay_open with a NULL parent dentry.
For example, this is useful for perfomring early tracing in kernel, before VFS is up and then exposing the early results once the dentry is available.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |