diff options
Diffstat (limited to 'include/trace/ftrace.h')
-rw-r--r-- | include/trace/ftrace.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 5c7ab17cbb02..52594b20179e 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -437,9 +437,8 @@ static inline notrace int ftrace_get_offsets_##call( \ | |||
437 | * { <assign>; } <-- Here we assign the entries by the __field and | 437 | * { <assign>; } <-- Here we assign the entries by the __field and |
438 | * __array macros. | 438 | * __array macros. |
439 | * | 439 | * |
440 | * if (!filter_current_check_discard(buffer, event_call, entry, event)) | 440 | * if (!filter_check_discard(ftrace_file, entry, buffer, event)) |
441 | * trace_nowake_buffer_unlock_commit(buffer, | 441 | * trace_buffer_unlock_commit(buffer, event, irq_flags, pc); |
442 | * event, irq_flags, pc); | ||
443 | * } | 442 | * } |
444 | * | 443 | * |
445 | * static struct trace_event ftrace_event_type_<call> = { | 444 | * static struct trace_event ftrace_event_type_<call> = { |
@@ -553,7 +552,7 @@ ftrace_raw_event_##call(void *__data, proto) \ | |||
553 | \ | 552 | \ |
554 | { assign; } \ | 553 | { assign; } \ |
555 | \ | 554 | \ |
556 | if (!filter_current_check_discard(buffer, event_call, entry, event)) \ | 555 | if (!filter_check_discard(ftrace_file, entry, buffer, event)) \ |
557 | trace_buffer_unlock_commit(buffer, event, irq_flags, pc); \ | 556 | trace_buffer_unlock_commit(buffer, event, irq_flags, pc); \ |
558 | } | 557 | } |
559 | /* | 558 | /* |