Skip to content

Commit

Permalink
rtla: Fix tracer name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Vicenzi authored and Steven Rostedt (Google) committed Aug 10, 2022
1 parent dd0b15b commit f1432cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/tools/rtla/rtla-timerlat-hist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EXAMPLE
=======
In the example below, **rtla timerlat hist** is set to run for *10* minutes,
in the cpus *0-4*, *skipping zero* only lines. Moreover, **rtla timerlat
hist** will change the priority of the *timelat* threads to run under
hist** will change the priority of the *timerlat* threads to run under
*SCHED_DEADLINE* priority, with a *10us* runtime every *1ms* period. The
*1ms* period is also passed to the *timerlat* tracer::

Expand Down
2 changes: 1 addition & 1 deletion tools/tracing/rtla/src/timerlat_hist.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ int timerlat_hist_main(int argc, char *argv[])
return_value = 0;

if (trace_is_off(&tool->trace, &record->trace)) {
printf("rtla timelat hit stop tracing\n");
printf("rtla timerlat hit stop tracing\n");
if (params->trace_output) {
printf(" Saving trace to %s\n", params->trace_output);
save_trace_to_file(record->trace.inst, params->trace_output);
Expand Down
2 changes: 1 addition & 1 deletion tools/tracing/rtla/src/timerlat_top.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ int timerlat_top_main(int argc, char *argv[])
return_value = 0;

if (trace_is_off(&top->trace, &record->trace)) {
printf("rtla timelat hit stop tracing\n");
printf("rtla timerlat hit stop tracing\n");
if (params->trace_output) {
printf(" Saving trace to %s\n", params->trace_output);
save_trace_to_file(record->trace.inst, params->trace_output);
Expand Down

0 comments on commit f1432cd

Please sign in to comment.