Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338829
b: refs/heads/master
c: 29c6776
h: refs/heads/master
i:
  338827: e6aa05b
v: v3
  • Loading branch information
Michael Wang authored and Paul E. McKenney committed Nov 8, 2012
1 parent b74e5a1 commit ca1b1eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c25e557f5d49a7cb94fad473f5ced75b6c7ce094
refs/heads/master: 29c67764f121a0980eb30d0314821ea631e6cfaf
11 changes: 10 additions & 1 deletion trunk/kernel/rcutree_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ static const struct file_operations rcu_node_boost_fops = {
.owner = THIS_MODULE,
.open = rcu_node_boost_open,
.read = seq_read,
.llseek = seq_lseek,
.llseek = no_llseek,
.release = single_release,
};

Expand Down Expand Up @@ -459,6 +459,15 @@ static int __init rcutree_trace_init(void)
rspdir, rsp, &new_rcubarrier_fops);
if (!retval)
goto free_out;

#ifdef CONFIG_RCU_BOOST
if (rsp == &rcu_preempt_state) {
retval = debugfs_create_file("rcuboost", 0444,
rspdir, NULL, &rcu_node_boost_fops);
if (!retval)
goto free_out;
}
#endif
}

retval = debugfs_create_file("rcubarrier", 0444, rcudir,
Expand Down

0 comments on commit ca1b1eb

Please sign in to comment.