Re: [RESEND PATCH v3 0/2] Always show mmap prot even though PROT_NONE
From: Namhyung Kim
Date: Fri May 31 2024 - 17:13:35 EST
On Wed, 22 May 2024 11:35:40 +0800, Changbin Du wrote:
> Before: PROT_NONE is not shown for prot 0.
> $ sudo perf trace -e syscalls:sys_enter_mmap --filter prot==0 -- ls
> 0.000 ls/2979231 syscalls:sys_enter_mmap(len: 4220888, flags: PRIVATE|ANONYMOUS)
>
> After: PROT_NONE is displayed.
> $ sudo perf trace -e syscalls:sys_enter_mmap --filter prot==0 -- ls
> 0.000 ls/2975708 syscalls:sys_enter_mmap(len: 4220888, prot: NONE, flags: PRIVATE|ANONYMOUS)
>
> [...]
Applied to perf-tools-next, thanks!
[1/2] perf trace beauty: Always show param if show_zero is set
commit: 92968dcc037fed045dab5c8e52b51255d77f5432
[2/2] perf trace beauty: Always show mmap prot even though PROT_NONE
commit: f975c13d2a34a335fc559aeff76dcaba456cced0
Best regards,
--
Namhyung Kim <namhyung@xxxxxxxxxx>