Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100514
b: refs/heads/master
c: b5685ae
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent 59d561b commit 2fc9fc0
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8487c23765b6e0444ec6b5f1530766d63fe68e35
refs/heads/master: b5685aede3b7b65e72ddc73b951aa1f70798a614
5 changes: 4 additions & 1 deletion trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2202,6 +2202,8 @@ tracing_read_pipe(struct file *filp, char __user *ubuf,
{
struct trace_iterator *iter = filp->private_data;
struct trace_array_cpu *data;
struct trace_array *tr = iter->tr;
struct tracer *tracer = iter->trace;
static cpumask_t mask;
static int start;
unsigned long flags;
Expand Down Expand Up @@ -2274,7 +2276,8 @@ tracing_read_pipe(struct file *filp, char __user *ubuf,
cnt = PAGE_SIZE - 1;

memset(iter, 0, sizeof(*iter));
iter->tr = &global_trace;
iter->tr = tr;
iter->trace = tracer;
iter->pos = -1;

/*
Expand Down

0 comments on commit 2fc9fc0

Please sign in to comment.