relay_late_setup_files(9)

relay_late_setup_files9

Triggers file creation

Usage

int relay_late_setup_files(struct rchan * chan, const char * base_filename, struct dentry * parent);

Arguments

chan

channel to operate on

base_filename

base name of files to create

parent

dentry of parent directory, NULL for root directory

Overview

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.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.