linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: tracing: Fix spelling mistakes
@ 2024-05-01 23:36 Saurav Shah
  2024-05-02  0:38 ` Bagas Sanjaya
  2024-05-07 14:00 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Saurav Shah @ 2024-05-01 23:36 UTC (permalink / raw
  To: rostedt, mhiramat, mathieu.desnoyers, mark.rutland, corbet
  Cc: Saurav Shah, linux-kernel, linux-trace-kernel, linux-doc

Fix spelling mistakes in the documentation.

Signed-off-by: Saurav Shah <sauravshah.31@gmail.com>
---
 Documentation/trace/fprobetrace.rst | 4 ++--
 Documentation/trace/ftrace.rst      | 2 +-
 Documentation/trace/kprobetrace.rst | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/trace/fprobetrace.rst b/Documentation/trace/fprobetrace.rst
index 0f187e3796e4..b4c2ca3d02c1 100644
--- a/Documentation/trace/fprobetrace.rst
+++ b/Documentation/trace/fprobetrace.rst
@@ -74,7 +74,7 @@ Function arguments at exit
 --------------------------
 Function arguments can be accessed at exit probe using $arg<N> fetcharg. This
 is useful to record the function parameter and return value at once, and
-trace the difference of structure fields (for debuging a function whether it
+trace the difference of structure fields (for debugging a function whether it
 correctly updates the given data structure or not)
 See the :ref:`sample<fprobetrace_exit_args_sample>` below for how it works.
 
@@ -248,4 +248,4 @@ mode. You can trace that changes with return probe.
              cat-143     [007] ...1.  1945.720616: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x1 inode=0x0
              cat-143     [007] ...1.  1945.728263: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0xa800d inode=0xffff888004ada8d8
 
-You can see the `file::f_mode` and `file::f_inode` are upated in `vfs_open()`.
+You can see the `file::f_mode` and `file::f_inode` are updated in `vfs_open()`.
diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
index 7e7b8ec17934..5aba74872ba7 100644
--- a/Documentation/trace/ftrace.rst
+++ b/Documentation/trace/ftrace.rst
@@ -1968,7 +1968,7 @@ wakeup
 One common case that people are interested in tracing is the
 time it takes for a task that is woken to actually wake up.
 Now for non Real-Time tasks, this can be arbitrary. But tracing
-it none the less can be interesting. 
+it nonetheless can be interesting. 
 
 Without function tracing::
 
diff --git a/Documentation/trace/kprobetrace.rst b/Documentation/trace/kprobetrace.rst
index a49662ccd53c..69cb7776ae99 100644
--- a/Documentation/trace/kprobetrace.rst
+++ b/Documentation/trace/kprobetrace.rst
@@ -74,7 +74,7 @@ Function arguments at kretprobe
 -------------------------------
 Function arguments can be accessed at kretprobe using $arg<N> fetcharg. This
 is useful to record the function parameter and return value at once, and
-trace the difference of structure fields (for debuging a function whether it
+trace the difference of structure fields (for debugging a function whether it
 correctly updates the given data structure or not).
 See the :ref:`sample<fprobetrace_exit_args_sample>` in fprobe event for how
 it works.
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: tracing: Fix spelling mistakes
  2024-05-01 23:36 [PATCH] Documentation: tracing: Fix spelling mistakes Saurav Shah
@ 2024-05-02  0:38 ` Bagas Sanjaya
  2024-05-07 14:00 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2024-05-02  0:38 UTC (permalink / raw
  To: Saurav Shah, rostedt, mhiramat, mathieu.desnoyers, mark.rutland,
	corbet
  Cc: linux-kernel, linux-trace-kernel, linux-doc, Mao Zhu, Ran Sun,
	Xiang wangx, Shaomin Deng, Charles Han, Attreyee M

[-- Attachment #1: Type: text/plain, Size: 2797 bytes --]

On Thu, May 02, 2024 at 05:06:59AM +0530, Saurav Shah wrote:
> diff --git a/Documentation/trace/fprobetrace.rst b/Documentation/trace/fprobetrace.rst
> index 0f187e3796e4..b4c2ca3d02c1 100644
> --- a/Documentation/trace/fprobetrace.rst
> +++ b/Documentation/trace/fprobetrace.rst
> @@ -74,7 +74,7 @@ Function arguments at exit
>  --------------------------
>  Function arguments can be accessed at exit probe using $arg<N> fetcharg. This
>  is useful to record the function parameter and return value at once, and
> -trace the difference of structure fields (for debuging a function whether it
> +trace the difference of structure fields (for debugging a function whether it
>  correctly updates the given data structure or not)
>  See the :ref:`sample<fprobetrace_exit_args_sample>` below for how it works.
>  
> @@ -248,4 +248,4 @@ mode. You can trace that changes with return probe.
>               cat-143     [007] ...1.  1945.720616: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x1 inode=0x0
>               cat-143     [007] ...1.  1945.728263: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0xa800d inode=0xffff888004ada8d8
>  
> -You can see the `file::f_mode` and `file::f_inode` are upated in `vfs_open()`.
> +You can see the `file::f_mode` and `file::f_inode` are updated in `vfs_open()`.
> diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
> index 7e7b8ec17934..5aba74872ba7 100644
> --- a/Documentation/trace/ftrace.rst
> +++ b/Documentation/trace/ftrace.rst
> @@ -1968,7 +1968,7 @@ wakeup
>  One common case that people are interested in tracing is the
>  time it takes for a task that is woken to actually wake up.
>  Now for non Real-Time tasks, this can be arbitrary. But tracing
> -it none the less can be interesting. 
> +it nonetheless can be interesting. 
>  
>  Without function tracing::
>  
> diff --git a/Documentation/trace/kprobetrace.rst b/Documentation/trace/kprobetrace.rst
> index a49662ccd53c..69cb7776ae99 100644
> --- a/Documentation/trace/kprobetrace.rst
> +++ b/Documentation/trace/kprobetrace.rst
> @@ -74,7 +74,7 @@ Function arguments at kretprobe
>  -------------------------------
>  Function arguments can be accessed at kretprobe using $arg<N> fetcharg. This
>  is useful to record the function parameter and return value at once, and
> -trace the difference of structure fields (for debuging a function whether it
> +trace the difference of structure fields (for debugging a function whether it
>  correctly updates the given data structure or not).
>  See the :ref:`sample<fprobetrace_exit_args_sample>` in fprobe event for how
>  it works.

LGTM, thanks!

Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: tracing: Fix spelling mistakes
  2024-05-01 23:36 [PATCH] Documentation: tracing: Fix spelling mistakes Saurav Shah
  2024-05-02  0:38 ` Bagas Sanjaya
@ 2024-05-07 14:00 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2024-05-07 14:00 UTC (permalink / raw
  To: Saurav Shah, rostedt, mhiramat, mathieu.desnoyers, mark.rutland
  Cc: Saurav Shah, linux-kernel, linux-trace-kernel, linux-doc

Saurav Shah <sauravshah.31@gmail.com> writes:

> Fix spelling mistakes in the documentation.
>
> Signed-off-by: Saurav Shah <sauravshah.31@gmail.com>
> ---
>  Documentation/trace/fprobetrace.rst | 4 ++--
>  Documentation/trace/ftrace.rst      | 2 +-
>  Documentation/trace/kprobetrace.rst | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-07 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-01 23:36 [PATCH] Documentation: tracing: Fix spelling mistakes Saurav Shah
2024-05-02  0:38 ` Bagas Sanjaya
2024-05-07 14:00 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).