]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/trace/trace_functions.c
ftrace: Implement separate user function filtering
[mv-sheeva.git] / kernel / trace / trace_functions.c
index 16aee4d44e8fd3e121c2dc4910a120968d01d5d8..8d0e1cc4e9747281989e2b8f4f19f5fba5a8194c 100644 (file)
@@ -149,11 +149,13 @@ function_stack_trace_call(unsigned long ip, unsigned long parent_ip)
 static struct ftrace_ops trace_ops __read_mostly =
 {
        .func = function_trace_call,
+       .flags = FTRACE_OPS_FL_GLOBAL,
 };
 
 static struct ftrace_ops trace_stack_ops __read_mostly =
 {
        .func = function_stack_trace_call,
+       .flags = FTRACE_OPS_FL_GLOBAL,
 };
 
 /* Our two options */