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

dev
device related to this debugfs file.
name
name of the debugfs file.
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.
read_fn
function pointer called to print the seq_file content.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.