Re: [PATCH] mm: mmap: remove newline at the end of the trace

From: David Hildenbrand
Date: Mon Mar 20 2023 - 09:35:43 EST


On 11.03.23 00:18, Minwoo Im wrote:
We already have newline in TP_printk so remove the redundant newline
character at the end of the mmap trace.

<...>-345 [006] ..... 95.589290: exit_mmap: mt_mod ...

<...>-345 [006] ..... 95.589413: vm_unmapped_area: addr=...

<...>-345 [006] ..... 95.589571: vm_unmapped_area: addr=...

<...>-345 [006] ..... 95.589606: vm_unmapped_area: addr=...

to

<...>-336 [006] ..... 44.762506: exit_mmap: mt_mod ...
<...>-336 [006] ..... 44.762654: vm_unmapped_area: addr=...
<...>-336 [006] ..... 44.762794: vm_unmapped_area: addr=...
<...>-336 [006] ..... 44.762835: vm_unmapped_area: addr=...

Signed-off-by: Minwoo Im <minwoo.im.dev@xxxxxxxxx>
---
include/trace/events/mmap.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb