Name

debugfs_create_devm_seqfile — create a debugfs file that is bound to device.

Synopsis

struct dentry * debugfs_create_devm_seqfile (struct device * dev,
 const char * name,
 struct dentry * parent,
 int (*read_fn) (struct seq_file *s, void *data));
 

Arguments

struct device * dev

device related to this debugfs file.

const char * name

name of the debugfs file.

struct dentry * parent

a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.

int (*)(struct seq_file *s, void *data) read_fn

function pointer called to print the seq_file content.