aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
-rw-r--r--kernel/trace/trace_functions_graph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index e08c030b8f38..80387d1d27e1 100644
--- a/kernel/trace/trace_functions_graph.c
+++ b/kernel/trace/trace_functions_graph.c
@@ -270,7 +270,7 @@ int __trace_graph_entry(struct trace_array *tr,
270 return 0; 270 return 0;
271 entry = ring_buffer_event_data(event); 271 entry = ring_buffer_event_data(event);
272 entry->graph_ent = *trace; 272 entry->graph_ent = *trace;
273 if (!filter_current_check_discard(buffer, call, entry, event)) 273 if (!call_filter_check_discard(call, entry, buffer, event))
274 __buffer_unlock_commit(buffer, event); 274 __buffer_unlock_commit(buffer, event);
275 275
276 return 1; 276 return 1;
@@ -385,7 +385,7 @@ void __trace_graph_return(struct trace_array *tr,
385 return; 385 return;
386 entry = ring_buffer_event_data(event); 386 entry = ring_buffer_event_data(event);
387 entry->ret = *trace; 387 entry->ret = *trace;
388 if (!filter_current_check_discard(buffer, call, entry, event)) 388 if (!call_filter_check_discard(call, entry, buffer, event))
389 __buffer_unlock_commit(buffer, event); 389 __buffer_unlock_commit(buffer, event);
390} 390}
391 391