selftest: ftrace: fix minor typo in log

Message ID 20240211111818.610211-1-vincenzo.mezzela@gmail.com
State New
Headers
Series selftest: ftrace: fix minor typo in log |

Commit Message

Vincenzo Mezzela Feb. 11, 2024, 11:18 a.m. UTC
  Resolves a spelling error in the test log, preventing potential
confusion.

Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@gmail.com>
---

It is submitted as part of my application to the "Linux Kernel
Bug Fixing Spring Unpaid 2024" mentorship program of the Linux
Foundation.

 .../testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Shuah Khan Feb. 20, 2024, 11:41 p.m. UTC | #1
On 2/11/24 04:18, Vincenzo Mezzela wrote:
> Resolves a spelling error in the test log, preventing potential
> confusion.
> 
> Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@gmail.com>
> ---
> 
> It is submitted as part of my application to the "Linux Kernel
> Bug Fixing Spring Unpaid 2024" mentorship program of the Linux
> Foundation.
> 
>   .../testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc b/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc
> index 4562e13cb26b..717898894ef7 100644
> --- a/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc
> +++ b/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc
> @@ -40,7 +40,7 @@ grep "id: \(unknown_\|sys_\)" events/raw_syscalls/sys_exit/hist > /dev/null || \
>   
>   reset_trigger
>   
> -echo "Test histgram with log2 modifier"
> +echo "Test histogram with log2 modifier"
>   
>   echo 'hist:keys=bytes_req.log2' > events/kmem/kmalloc/trigger
>   for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done

Steve,

I picked this up fpr next for Linux 6.9-rc1

thanks,
-- Shuah
  
Steven Rostedt Feb. 21, 2024, 12:02 a.m. UTC | #2
On Tue, 20 Feb 2024 16:41:01 -0700
Shuah Khan <skhan@linuxfoundation.org> wrote:

> Steve,
> 
> I picked this up fpr next for Linux 6.9-rc1

Sure, and you can add my:

Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>

Thanks Shuah,

-- Steve
  

Patch

diff --git a/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc b/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc
index 4562e13cb26b..717898894ef7 100644
--- a/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc
+++ b/tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc
@@ -40,7 +40,7 @@  grep "id: \(unknown_\|sys_\)" events/raw_syscalls/sys_exit/hist > /dev/null || \
 
 reset_trigger
 
-echo "Test histgram with log2 modifier"
+echo "Test histogram with log2 modifier"
 
 echo 'hist:keys=bytes_req.log2' > events/kmem/kmalloc/trigger
 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done