summaryrefslogtreecommitdiffstats
path: root/samples/ftrace/sample-trace-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ftrace/sample-trace-array.c')
-rw-r--r--samples/ftrace/sample-trace-array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/ftrace/sample-trace-array.c b/samples/ftrace/sample-trace-array.c
index 6aba02a31c..d0ee9001c7 100644
--- a/samples/ftrace/sample-trace-array.c
+++ b/samples/ftrace/sample-trace-array.c
@@ -105,7 +105,7 @@ static int __init sample_trace_array_init(void)
* NOTE: This function increments the reference counter
* associated with the trace array - "tr".
*/
- tr = trace_array_get_by_name("sample-instance");
+ tr = trace_array_get_by_name("sample-instance", "sched,timer,kprobes");
if (!tr)
return -1;