@@ -230,7 +230,7 @@ static void update_ftrace_function(void)
230230 /*
231231 * For static tracing, we need to be a bit more careful.
232232 * The function change takes affect immediately. Thus,
233- * we need to coorditate the setting of the function_trace_ops
233+ * we need to coordinate the setting of the function_trace_ops
234234 * with the setting of the ftrace_trace_function.
235235 *
236236 * Set the function to the list ops, which will call the
@@ -1451,7 +1451,7 @@ static bool hash_contains_ip(unsigned long ip,
14511451{
14521452 /*
14531453 * The function record is a match if it exists in the filter
1454- * hash and not in the notrace hash. Note, an emty hash is
1454+ * hash and not in the notrace hash. Note, an empty hash is
14551455 * considered a match for the filter hash, but an empty
14561456 * notrace hash is considered not in the notrace hash.
14571457 */
@@ -2976,7 +2976,7 @@ int ftrace_shutdown(struct ftrace_ops *ops, int command)
29762976 synchronize_rcu_tasks_rude ();
29772977
29782978 /*
2979- * When the kernel is preeptive , tasks can be preempted
2979+ * When the kernel is preemptive , tasks can be preempted
29802980 * while on a ftrace trampoline. Just scheduling a task on
29812981 * a CPU is not good enough to flush them. Calling
29822982 * synchornize_rcu_tasks() will wait for those tasks to
@@ -4368,7 +4368,7 @@ void **ftrace_func_mapper_find_ip(struct ftrace_func_mapper *mapper,
43684368 * @ip: The instruction pointer address to map @data to
43694369 * @data: The data to map to @ip
43704370 *
4371- * Returns 0 on succes otherwise an error.
4371+ * Returns 0 on success otherwise an error.
43724372 */
43734373int ftrace_func_mapper_add_ip (struct ftrace_func_mapper * mapper ,
43744374 unsigned long ip , void * data )
@@ -4536,7 +4536,7 @@ register_ftrace_function_probe(char *glob, struct trace_array *tr,
45364536
45374537 /*
45384538 * Note, there's a small window here that the func_hash->filter_hash
4539- * may be NULL or empty. Need to be carefule when reading the loop.
4539+ * may be NULL or empty. Need to be careful when reading the loop.
45404540 */
45414541 mutex_lock (& probe -> ops .func_hash -> regex_lock );
45424542
0 commit comments