1DEBUGFS_CREATE_DEVM_(9) The debugfs filesystem DEBUGFS_CREATE_DEVM_(9)
2
3
4
6 debugfs_create_devm_seqfile - create a debugfs file that is bound to
7 device.
8
10 struct dentry * debugfs_create_devm_seqfile(struct device * dev,
11 const char * name,
12 struct dentry * parent,
13 int (*read_fn) (struct seq_file *s, void *data));
14
16 dev
17 device related to this debugfs file.
18
19 name
20 name of the debugfs file.
21
22 parent
23 a pointer to the parent dentry for this file. This should be a
24 directory dentry if set. If this parameter is NULL, then the file
25 will be created in the root of the debugfs filesystem.
26
27 read_fn
28 function pointer called to print the seq_file content.
29
31Kernel Hackers Manual 3.10 June 2019 DEBUGFS_CREATE_DEVM_(9)