Skip to content

Commit fa3f733

Browse files
sysheaprostedt
authored andcommitted
tracing: Fix multiple typos in trace_osnoise.c
Fix multiple typos in comments: "Anotate" -> "Annotate" "infor" -> "info" "timestemp" -> "timestamp" "tread" -> "thread" "varaibles" -> "variables" "wast" -> "waste" Link: https://patch.msgid.link/20251121221835.28032-13-mhi@mailbox.org Signed-off-by: Maurice Hieronymus <mhi@mailbox.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent 6ce5725 commit fa3f733

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

kernel/trace/trace_osnoise.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static struct osnoise_data {
329329
u64 print_stack; /* print IRQ stack if total > */
330330
int timerlat_tracer; /* timerlat tracer */
331331
#endif
332-
bool tainted; /* infor users and developers about a problem */
332+
bool tainted; /* info users and developers about a problem */
333333
} osnoise_data = {
334334
.sample_period = DEFAULT_SAMPLE_PERIOD,
335335
.sample_runtime = DEFAULT_SAMPLE_RUNTIME,
@@ -738,7 +738,7 @@ cond_move_thread_delta_start(struct osnoise_variables *osn_var, u64 duration)
738738
/*
739739
* get_int_safe_duration - Get the duration of a window
740740
*
741-
* The irq, softirq and thread varaibles need to have its duration without
741+
* The irq, softirq and thread variables need to have its duration without
742742
* the interference from higher priority interrupts. Instead of keeping a
743743
* variable to discount the interrupt interference from these variables, the
744744
* starting time of these variables are pushed forward with the interrupt's
@@ -1460,7 +1460,7 @@ static int run_osnoise(void)
14601460
stop_in = osnoise_data.stop_tracing * NSEC_PER_USEC;
14611461

14621462
/*
1463-
* Start timestemp
1463+
* Start timestamp
14641464
*/
14651465
start = time_get();
14661466

@@ -1881,7 +1881,7 @@ static int timerlat_main(void *data)
18811881
tlat->kthread = current;
18821882
osn_var->pid = current->pid;
18831883
/*
1884-
* Anotate the arrival time.
1884+
* Annotate the arrival time.
18851885
*/
18861886
tlat->abs_period = hrtimer_cb_get_time(&tlat->timer);
18871887

@@ -1978,7 +1978,7 @@ static void stop_per_cpu_kthreads(void)
19781978
}
19791979

19801980
/*
1981-
* start_kthread - Start a workload tread
1981+
* start_kthread - Start a workload thread
19821982
*/
19831983
static int start_kthread(unsigned int cpu)
19841984
{
@@ -2705,7 +2705,7 @@ static int osnoise_create_cpu_timerlat_fd(struct dentry *top_dir)
27052705
* Why not using tracing instance per_cpu/ dir?
27062706
*
27072707
* Because osnoise/timerlat have a single workload, having
2708-
* multiple files like these are wast of memory.
2708+
* multiple files like these are waste of memory.
27092709
*/
27102710
per_cpu = tracefs_create_dir("per_cpu", top_dir);
27112711
if (!per_cpu)

0 commit comments

Comments
 (0)