* [PATCH] tracing: Trivial typo fixes
@ 2021-03-23 20:33 Bhaskar Chowdhury
2021-03-23 21:53 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-23 20:33 UTC (permalink / raw)
To: rostedt, mingo, linux-kernel; +Cc: rdunlap, Bhaskar Chowdhury
Trivial spelling fixes.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
kernel/trace/trace_seq.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/kernel/trace/trace_seq.c b/kernel/trace/trace_seq.c
index 1d84fcc78e3e..e03eae7a5577 100644
--- a/kernel/trace/trace_seq.c
+++ b/kernel/trace/trace_seq.c
@@ -12,11 +12,11 @@
* This will set up the counters within the descriptor. You can call
* trace_seq_init() more than once to reset the trace_seq to start
* from scratch.
* The buffer size is currently PAGE_SIZE, although it may become dynamic
* in the future.
*
- * A write to the buffer will either succed or fail. That is, unlike
+ * A write to the buffer will either succeed or fail. That is, unlike
* sprintf() there will not be a partial write (well it may write into
* the buffer but it wont update the pointers). This allows users to
* try to write something into the trace_seq buffer and if it fails
@@ -73,7 +73,7 @@ int trace_print_seq(struct seq_file *m, struct trace_seq *s)
* @fmt: printf format string
*
* The tracer may use either sequence operations or its own
- * copy to user routines. To simplify formating of a trace
+ * copy to user routines. To simplify formatting of a trace
* trace_seq_printf() is used to store strings into a special
* buffer (@s). Then the output may be either used by
* the sequencer or pulled into another buffer.
@@ -133,7 +133,7 @@ EXPORT_SYMBOL_GPL(trace_seq_bitmask);
* @fmt: printf format string
*
* The tracer may use either sequence operations or its own
- * copy to user routines. To simplify formating of a trace
+ * copy to user routines. To simplify formatting of a trace
* trace_seq_printf is used to store strings into a special
* buffer (@s). Then the output may be either used by
* the sequencer or pulled into another buffer.
@@ -226,7 +226,7 @@ EXPORT_SYMBOL_GPL(trace_seq_puts);
* @c: simple character to record
*
* The tracer may use either the sequence operations or its own
- * copy to user routines. This function records a simple charater
+ * copy to user routines. This function records a simple character
* into a special buffer (@s) for later retrieval by a sequencer
* or other mechanism.
*/
@@ -348,7 +348,7 @@ int trace_seq_path(struct trace_seq *s, const struct path *path)
EXPORT_SYMBOL_GPL(trace_seq_path);
/**
- * trace_seq_to_user - copy the squence buffer to user space
+ * trace_seq_to_user - copy the sequence buffer to user space
* @s: trace sequence descriptor
* @ubuf: The userspace memory location to copy to
* @cnt: The amount to copy
--
2.30.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] tracing: Trivial typo fixes
2021-03-23 20:33 [PATCH] tracing: Trivial typo fixes Bhaskar Chowdhury
@ 2021-03-23 21:53 ` Randy Dunlap
2021-03-23 22:05 ` Bhaskar Chowdhury
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2021-03-23 21:53 UTC (permalink / raw)
To: Bhaskar Chowdhury, rostedt, mingo, linux-kernel
On 3/23/21 1:33 PM, Bhaskar Chowdhury wrote:
> Trivial spelling fixes.
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Ingo has already fixed all of these.
Plus many more that are trace-related.
> ---
> kernel/trace/trace_seq.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/kernel/trace/trace_seq.c b/kernel/trace/trace_seq.c
> index 1d84fcc78e3e..e03eae7a5577 100644
> --- a/kernel/trace/trace_seq.c
> +++ b/kernel/trace/trace_seq.c
> @@ -12,11 +12,11 @@
> * This will set up the counters within the descriptor. You can call
> * trace_seq_init() more than once to reset the trace_seq to start
> * from scratch.
> * The buffer size is currently PAGE_SIZE, although it may become dynamic
> * in the future.
> *
> - * A write to the buffer will either succed or fail. That is, unlike
> + * A write to the buffer will either succeed or fail. That is, unlike
> * sprintf() there will not be a partial write (well it may write into
> * the buffer but it wont update the pointers). This allows users to
> * try to write something into the trace_seq buffer and if it fails
> @@ -73,7 +73,7 @@ int trace_print_seq(struct seq_file *m, struct trace_seq *s)
> * @fmt: printf format string
> *
> * The tracer may use either sequence operations or its own
> - * copy to user routines. To simplify formating of a trace
> + * copy to user routines. To simplify formatting of a trace
> * trace_seq_printf() is used to store strings into a special
> * buffer (@s). Then the output may be either used by
> * the sequencer or pulled into another buffer.
> @@ -133,7 +133,7 @@ EXPORT_SYMBOL_GPL(trace_seq_bitmask);
> * @fmt: printf format string
> *
> * The tracer may use either sequence operations or its own
> - * copy to user routines. To simplify formating of a trace
> + * copy to user routines. To simplify formatting of a trace
> * trace_seq_printf is used to store strings into a special
> * buffer (@s). Then the output may be either used by
> * the sequencer or pulled into another buffer.
> @@ -226,7 +226,7 @@ EXPORT_SYMBOL_GPL(trace_seq_puts);
> * @c: simple character to record
> *
> * The tracer may use either the sequence operations or its own
> - * copy to user routines. This function records a simple charater
> + * copy to user routines. This function records a simple character
> * into a special buffer (@s) for later retrieval by a sequencer
> * or other mechanism.
> */
> @@ -348,7 +348,7 @@ int trace_seq_path(struct trace_seq *s, const struct path *path)
> EXPORT_SYMBOL_GPL(trace_seq_path);
>
> /**
> - * trace_seq_to_user - copy the squence buffer to user space
> + * trace_seq_to_user - copy the sequence buffer to user space
> * @s: trace sequence descriptor
> * @ubuf: The userspace memory location to copy to
> * @cnt: The amount to copy
> --
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tracing: Trivial typo fixes
2021-03-23 21:53 ` Randy Dunlap
@ 2021-03-23 22:05 ` Bhaskar Chowdhury
0 siblings, 0 replies; 3+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-23 22:05 UTC (permalink / raw)
To: Randy Dunlap; +Cc: rostedt, mingo, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 3021 bytes --]
On 14:53 Tue 23 Mar 2021, Randy Dunlap wrote:
>On 3/23/21 1:33 PM, Bhaskar Chowdhury wrote:
>> Trivial spelling fixes.
>>
>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>
>Ingo has already fixed all of these.
>Plus many more that are trace-related.
>
Okay, Nevermind.
>> ---
>> kernel/trace/trace_seq.c | 12 ++++++------
>> 1 file changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/kernel/trace/trace_seq.c b/kernel/trace/trace_seq.c
>> index 1d84fcc78e3e..e03eae7a5577 100644
>> --- a/kernel/trace/trace_seq.c
>> +++ b/kernel/trace/trace_seq.c
>> @@ -12,11 +12,11 @@
>> * This will set up the counters within the descriptor. You can call
>> * trace_seq_init() more than once to reset the trace_seq to start
>> * from scratch.
>> * The buffer size is currently PAGE_SIZE, although it may become dynamic
>> * in the future.
>> *
>> - * A write to the buffer will either succed or fail. That is, unlike
>> + * A write to the buffer will either succeed or fail. That is, unlike
>> * sprintf() there will not be a partial write (well it may write into
>> * the buffer but it wont update the pointers). This allows users to
>> * try to write something into the trace_seq buffer and if it fails
>> @@ -73,7 +73,7 @@ int trace_print_seq(struct seq_file *m, struct trace_seq *s)
>> * @fmt: printf format string
>> *
>> * The tracer may use either sequence operations or its own
>> - * copy to user routines. To simplify formating of a trace
>> + * copy to user routines. To simplify formatting of a trace
>> * trace_seq_printf() is used to store strings into a special
>> * buffer (@s). Then the output may be either used by
>> * the sequencer or pulled into another buffer.
>> @@ -133,7 +133,7 @@ EXPORT_SYMBOL_GPL(trace_seq_bitmask);
>> * @fmt: printf format string
>> *
>> * The tracer may use either sequence operations or its own
>> - * copy to user routines. To simplify formating of a trace
>> + * copy to user routines. To simplify formatting of a trace
>> * trace_seq_printf is used to store strings into a special
>> * buffer (@s). Then the output may be either used by
>> * the sequencer or pulled into another buffer.
>> @@ -226,7 +226,7 @@ EXPORT_SYMBOL_GPL(trace_seq_puts);
>> * @c: simple character to record
>> *
>> * The tracer may use either the sequence operations or its own
>> - * copy to user routines. This function records a simple charater
>> + * copy to user routines. This function records a simple character
>> * into a special buffer (@s) for later retrieval by a sequencer
>> * or other mechanism.
>> */
>> @@ -348,7 +348,7 @@ int trace_seq_path(struct trace_seq *s, const struct path *path)
>> EXPORT_SYMBOL_GPL(trace_seq_path);
>>
>> /**
>> - * trace_seq_to_user - copy the squence buffer to user space
>> + * trace_seq_to_user - copy the sequence buffer to user space
>> * @s: trace sequence descriptor
>> * @ubuf: The userspace memory location to copy to
>> * @cnt: The amount to copy
>> --
>
>
>--
>~Randy
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-23 22:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 20:33 [PATCH] tracing: Trivial typo fixes Bhaskar Chowdhury
2021-03-23 21:53 ` Randy Dunlap
2021-03-23 22:05 ` Bhaskar Chowdhury
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.