Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156569
b: refs/heads/master
c: 96b2de3
h: refs/heads/master
i:
  156567: 57351d8
v: v3
  • Loading branch information
Tom Zanussi authored and Ingo Molnar committed Aug 8, 2009
1 parent 8a0fe59 commit c400305
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: bd3f02212d6a457267e0c9c02c426151c436d9d4
refs/heads/master: 96b2de313b1e0e02aea80ee47df6a2b5cbdf8e13
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 @@ -1029,6 +1029,8 @@ static int replace_preds(struct event_subsystem *system,

if (elt->op == OP_AND || elt->op == OP_OR) {
pred = create_logical_pred(elt->op);
if (!pred)
return -ENOMEM;
if (call) {
err = filter_add_pred(ps, call, pred);
filter_free_pred(pred);
Expand All @@ -1048,6 +1050,8 @@ static int replace_preds(struct event_subsystem *system,
}

pred = create_pred(elt->op, operand1, operand2);
if (!pred)
return -ENOMEM;
if (call) {
err = filter_add_pred(ps, call, pred);
filter_free_pred(pred);
Expand Down

0 comments on commit c400305

Please sign in to comment.