1RELAY_LATE_SETUP_FIL(9) relay interface support RELAY_LATE_SETUP_FIL(9)
2
3
4
6 relay_late_setup_files - triggers file creation
7
9 int relay_late_setup_files(struct rchan * chan,
10 const char * base_filename,
11 struct dentry * parent);
12
14 chan
15 channel to operate on
16
17 base_filename
18 base name of files to create
19
20 parent
21 dentry of parent directory, NULL for root directory
22
24 Returns 0 if successful, non-zero otherwise.
25
26 Use to setup files for a previously buffer-only channel created by
27 relay_open with a NULL parent dentry.
28
29 For example, this is useful for perfomring early tracing in kernel,
30 before VFS is up and then exposing the early results once the dentry is
31 available.
32
34Kernel Hackers Manual 3.10 June 2019 RELAY_LATE_SETUP_FIL(9)