#include <linux/debugfs.h>
#include <linux/ras.h>
#include "debugfs.h"
static struct dentry *ras_debugfs_dir;
static atomic_t trace_count = …;
struct dentry *ras_get_debugfs_root(void)
{ … }
EXPORT_SYMBOL_GPL(…);
int ras_userspace_consumers(void)
{ … }
EXPORT_SYMBOL_GPL(…);
static int trace_show(struct seq_file *m, void *v)
{ … }
static int trace_open(struct inode *inode, struct file *file)
{ … }
static int trace_release(struct inode *inode, struct file *file)
{ … }
static const struct file_operations trace_fops = …;
int __init ras_add_daemon_trace(void)
{ … }
void __init ras_debugfs_init(void)
{ … }