Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158405
b: refs/heads/master
c: 566b0aa
h: refs/heads/master
i:
  158403: 4b8060c
v: v3
  • Loading branch information
jolsa@redhat.com authored and Ingo Molnar committed Jul 18, 2009
1 parent f13f2b9 commit 554ff44
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 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: 45bceffc3013bda7d2ebc7802e9b153b674e2d44
refs/heads/master: 566b0aaf798a0dddfc455d1a5b05c424c6686c65
3 changes: 0 additions & 3 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,6 @@ struct ftrace_iterator {
unsigned flags;
unsigned char buffer[FTRACE_BUFF_MAX+1];
unsigned buffer_idx;
unsigned filtered;
};

static void *
Expand Down Expand Up @@ -2268,7 +2267,6 @@ ftrace_regex_write(struct file *file, const char __user *ubuf,
}

if (isspace(ch)) {
iter->filtered++;
iter->buffer[iter->buffer_idx] = 0;
ret = ftrace_process_regex(iter->buffer,
iter->buffer_idx, enable);
Expand Down Expand Up @@ -2399,7 +2397,6 @@ ftrace_regex_release(struct inode *inode, struct file *file, int enable)
iter = file->private_data;

if (iter->buffer_idx) {
iter->filtered++;
iter->buffer[iter->buffer_idx] = 0;
ftrace_match_records(iter->buffer, iter->buffer_idx, enable);
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -4265,7 +4265,6 @@ void ftrace_dump(void)

__init static int tracer_alloc_buffers(void)
{
struct trace_array_cpu *data;
int ring_buf_size;
int i;
int ret = -ENOMEM;
Expand Down Expand Up @@ -4315,7 +4314,7 @@ __init static int tracer_alloc_buffers(void)

/* Allocate the first page for all buffers */
for_each_tracing_cpu(i) {
data = global_trace.data[i] = &per_cpu(global_trace_cpu, i);
global_trace.data[i] = &per_cpu(global_trace_cpu, i);
max_tr.data[i] = &per_cpu(max_data, i);
}

Expand Down

0 comments on commit 554ff44

Please sign in to comment.