From d6d5e943a7e2c95e8f93dfc403ca5094a4cb7cdc Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Mon, 24 Jun 2019 14:07:21 +0200 Subject: [PATCH] Only enable a few kernel events by default --- tracetools_trace/tracetools_trace/tools/names.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tracetools_trace/tracetools_trace/tools/names.py b/tracetools_trace/tracetools_trace/tools/names.py index d7469c9..43ad7b0 100644 --- a/tracetools_trace/tracetools_trace/tools/names.py +++ b/tracetools_trace/tracetools_trace/tools/names.py @@ -14,7 +14,7 @@ """Lists of names (events, context) for tracing.""" -DEFAULT_EVENTS_KERNEL = [ +EVENTS_KERNEL = [ 'block_rq_complete', 'block_rq_insert', 'block_rq_issue', @@ -48,6 +48,13 @@ DEFAULT_EVENTS_KERNEL = [ 'timer_hrtimer_expire_exit', ] +DEFAULT_EVENTS_KERNEL = [ + 'power_cpu_frequency', + 'sched_switch', + 'sched_waking', + 'sched_wakeup', +] + DEFAULT_EVENTS_ROS = [ 'ros2:rcl_init', 'ros2:rcl_node_init',