Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338820
b: refs/heads/master
c: 573bcd4
h: refs/heads/master
v: v3
  • Loading branch information
Michael Wang authored and Paul E. McKenney committed Nov 8, 2012
1 parent 4c98c1c commit 922f6d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a30489c5228fba6f16b4c740a0292879ef13371e
refs/heads/master: 573bcd40d221bd6d7cebf27dee120bd242f5feb5
8 changes: 8 additions & 0 deletions trunk/kernel/rcutree_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 922f6d2

Please sign in to comment.