Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304947
b: refs/heads/master
c: 0a3d7ce
h: refs/heads/master
i:
  304945: b11dc02
  304943: 28cd2c9
v: v3
  • Loading branch information
Namhyung Kim authored and Steven Rostedt committed May 16, 2012
1 parent 370f3f1 commit 2ca4de1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 308f7eeb7882c27c1d7aa783499cb22f3b199718
refs/heads/master: 0a3d7ce7e6caa8c39cb5184bd9047a01a40abc2a
3 changes: 3 additions & 0 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -4474,6 +4474,9 @@ static void tracing_init_debugfs_percpu(long cpu)
struct dentry *d_cpu;
char cpu_dir[30]; /* 30 characters should be more than enough */

if (!d_percpu)
return;

snprintf(cpu_dir, 30, "cpu%ld", cpu);
d_cpu = debugfs_create_dir(cpu_dir, d_percpu);
if (!d_cpu) {
Expand Down

0 comments on commit 2ca4de1

Please sign in to comment.