aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_boot.c')
-rw-r--r--kernel/trace/trace_boot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/trace_boot.c b/kernel/trace/trace_boot.c
index 662cb9198906..0203c1054012 100644
--- a/kernel/trace/trace_boot.c
+++ b/kernel/trace/trace_boot.c
@@ -28,13 +28,13 @@ void start_boot_trace(void)
28void enable_boot_trace(void) 28void enable_boot_trace(void)
29{ 29{
30 if (pre_initcalls_finished) 30 if (pre_initcalls_finished)
31 tracing_start_cmdline_record(); 31 tracing_start_sched_switch_record();
32} 32}
33 33
34void disable_boot_trace(void) 34void disable_boot_trace(void)
35{ 35{
36 if (pre_initcalls_finished) 36 if (pre_initcalls_finished)
37 tracing_stop_cmdline_record(); 37 tracing_stop_sched_switch_record();
38} 38}
39 39
40static void reset_boot_trace(struct trace_array *tr) 40static void reset_boot_trace(struct trace_array *tr)
@@ -55,7 +55,7 @@ static void boot_trace_init(struct trace_array *tr)
55 for_each_cpu_mask(cpu, cpu_possible_map) 55 for_each_cpu_mask(cpu, cpu_possible_map)
56 tracing_reset(tr, cpu); 56 tracing_reset(tr, cpu);
57 57
58 tracing_cmdline_assign_trace(tr); 58 tracing_sched_switch_assign_trace(tr);
59} 59}
60 60
61static void boot_trace_ctrl_update(struct trace_array *tr) 61static void boot_trace_ctrl_update(struct trace_array *tr)