Scroll to navigation

DEBUGFS_CREATE_DEVM_(9) The debugfs filesystem DEBUGFS_CREATE_DEVM_(9)

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.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12