Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtla: Fix tracer name

The correct tracer name is timerlat and not timelat.

Link: https://lore.kernel.org/linux-trace-devel/20220808180343.22262-1-alexandre.vicenzi@suse.com

Signed-off-by: Alexandre Vicenzi <alexandre.vicenzi@suse.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

authored by

Alexandre Vicenzi and committed by
Steven Rostedt (Google)
f1432cd2 dd0b15bd

+3 -3
+1 -1
Documentation/tools/rtla/rtla-timerlat-hist.rst
··· 33 33 ======= 34 34 In the example below, **rtla timerlat hist** is set to run for *10* minutes, 35 35 in the cpus *0-4*, *skipping zero* only lines. Moreover, **rtla timerlat 36 - hist** will change the priority of the *timelat* threads to run under 36 + hist** will change the priority of the *timerlat* threads to run under 37 37 *SCHED_DEADLINE* priority, with a *10us* runtime every *1ms* period. The 38 38 *1ms* period is also passed to the *timerlat* tracer:: 39 39
+1 -1
tools/tracing/rtla/src/timerlat_hist.c
··· 892 892 return_value = 0; 893 893 894 894 if (trace_is_off(&tool->trace, &record->trace)) { 895 - printf("rtla timelat hit stop tracing\n"); 895 + printf("rtla timerlat hit stop tracing\n"); 896 896 if (params->trace_output) { 897 897 printf(" Saving trace to %s\n", params->trace_output); 898 898 save_trace_to_file(record->trace.inst, params->trace_output);
+1 -1
tools/tracing/rtla/src/timerlat_top.c
··· 687 687 return_value = 0; 688 688 689 689 if (trace_is_off(&top->trace, &record->trace)) { 690 - printf("rtla timelat hit stop tracing\n"); 690 + printf("rtla timerlat hit stop tracing\n"); 691 691 if (params->trace_output) { 692 692 printf(" Saving trace to %s\n", params->trace_output); 693 693 save_trace_to_file(record->trace.inst, params->trace_output);