From e33ca9b9d7a9c2ea106139b420d43a466f1db857 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sat, 28 Dec 2019 16:34:06 -0500 Subject: [PATCH 1/2] Remove sched_waking/sched_wakeup from the default kernel events list --- tracetools_trace/tracetools_trace/tools/names.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tracetools_trace/tracetools_trace/tools/names.py b/tracetools_trace/tracetools_trace/tools/names.py index 4e02a43..cbc2d46 100644 --- a/tracetools_trace/tracetools_trace/tools/names.py +++ b/tracetools_trace/tracetools_trace/tools/names.py @@ -48,11 +48,10 @@ EVENTS_KERNEL = [ 'timer_hrtimer_expire_exit', ] +# Kernel events that are currently used by analyses (or will most likely be used in the future) DEFAULT_EVENTS_KERNEL = [ - 'power_cpu_frequency', 'sched_switch', - 'sched_waking', - 'sched_wakeup', + 'power_cpu_frequency', ] DEFAULT_EVENTS_ROS = [ From bae6f798746e9d3d7db6258a41c1f928d33a16fa Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sat, 28 Dec 2019 16:36:16 -0500 Subject: [PATCH 2/2] Add kmem_mm_page_alloc|free to default kernel events --- tracetools_trace/tracetools_trace/tools/names.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tracetools_trace/tracetools_trace/tools/names.py b/tracetools_trace/tracetools_trace/tools/names.py index cbc2d46..8cca1d0 100644 --- a/tracetools_trace/tracetools_trace/tools/names.py +++ b/tracetools_trace/tracetools_trace/tools/names.py @@ -24,6 +24,8 @@ EVENTS_KERNEL = [ 'irq_softirq_exit', 'irq_handler_entry', 'irq_handler_exit', + 'kmem_mm_page_alloc', + 'kmem_mm_page_free', 'lttng_statedump_process_state', 'lttng_statedump_start', 'lttng_statedump_end', @@ -51,6 +53,8 @@ EVENTS_KERNEL = [ # Kernel events that are currently used by analyses (or will most likely be used in the future) DEFAULT_EVENTS_KERNEL = [ 'sched_switch', + 'kmem_mm_page_alloc', + 'kmem_mm_page_free', 'power_cpu_frequency', ]