Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234483
b: refs/heads/master
c: f76690a
h: refs/heads/master
i:
  234481: 4c47853
  234479: 8bbc8a2
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Feb 8, 2011
1 parent 122a7a5 commit 2613c20
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 74e9e58c350a24139e268dd6857bbaa55c5aafcf
refs/heads/master: f76690afd05e3e163149310bdcd30234f93b3a7a
4 changes: 4 additions & 0 deletions trunk/kernel/trace/trace_events_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,10 @@ int apply_event_filter(struct ftrace_event_call *call, char *filter_string)

if (!strcmp(strstrip(filter_string), "0")) {
filter_disable_preds(call);
reset_preds(call->filter);
/* Make sure the filter is not being used */
synchronize_sched();
__free_preds(call->filter);
remove_filter_string(call->filter);
goto out_unlock;
}
Expand Down

0 comments on commit 2613c20

Please sign in to comment.