Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140744
b: refs/heads/master
c: 7f24b31
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt committed Feb 16, 2009
1 parent 3f3638b commit 8e4b6fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 265c831cb03d533cbe159af45798ac9fef534260
refs/heads/master: 7f24b31b01a271b62346d9df084b029e48612163
8 changes: 4 additions & 4 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ enum {
};

static void
ftrace_match(unsigned char *buff, int len, int enable)
ftrace_match_records(unsigned char *buff, int len, int enable)
{
char str[KSYM_SYMBOL_LEN];
char *search = NULL;
Expand Down Expand Up @@ -1197,7 +1197,7 @@ ftrace_regex_write(struct file *file, const char __user *ubuf,
if (isspace(ch)) {
iter->filtered++;
iter->buffer[iter->buffer_idx] = 0;
ftrace_match(iter->buffer, iter->buffer_idx, enable);
ftrace_match_records(iter->buffer, iter->buffer_idx, enable);
iter->buffer_idx = 0;
} else
iter->flags |= FTRACE_ITER_CONT;
Expand Down Expand Up @@ -1236,7 +1236,7 @@ ftrace_set_regex(unsigned char *buf, int len, int reset, int enable)
if (reset)
ftrace_filter_reset(enable);
if (buf)
ftrace_match(buf, len, enable);
ftrace_match_records(buf, len, enable);
mutex_unlock(&ftrace_regex_lock);
}

Expand Down Expand Up @@ -1286,7 +1286,7 @@ ftrace_regex_release(struct inode *inode, struct file *file, int enable)
if (iter->buffer_idx) {
iter->filtered++;
iter->buffer[iter->buffer_idx] = 0;
ftrace_match(iter->buffer, iter->buffer_idx, enable);
ftrace_match_records(iter->buffer, iter->buffer_idx, enable);
}

mutex_lock(&ftrace_sysctl_lock);
Expand Down

0 comments on commit 8e4b6fb

Please sign in to comment.