Message ID | 1351616713-26930-1-git-send-email-paulmck@linux.vnet.ibm.com |
---|---|
State | Accepted |
Commit | 573bcd40d221bd6d7cebf27dee120bd242f5feb5 |
Headers | show |
diff --git a/kernel/rcutree_trace.c b/kernel/rcutree_trace.c index 693513b..62223a2 100644 --- a/kernel/rcutree_trace.c +++ b/kernel/rcutree_trace.c @@ -446,12 +446,20 @@ static struct dentry *rcudir; static int __init rcutree_trace_init(void) { + struct rcu_state *rsp; struct dentry *retval; + struct dentry *rspdir; rcudir = debugfs_create_dir("rcu", NULL); if (!rcudir) goto free_out; + for_each_rcu_flavor(rsp) { + rspdir = debugfs_create_dir(rsp->name, rcudir); + if (!rspdir) + goto free_out; + } + retval = debugfs_create_file("rcubarrier", 0444, rcudir, NULL, &rcubarrier_fops); if (!retval)