Skip to content

Always show mmap prot even though PROT_NONE

Changbin Du linux-perf-users lkml 3 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/22 patches 1 replyApplied
  2. v3 posting 1/22 patches 0 repliesSuperseded
  3. v22 patches 2 repliesSuperseded

Patches in v3 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/2perf trace beauty: Always show param if show_zero is settools/perf/builtin-trace.c+7 -220 replies
2/2perf trace beauty: Always show mmap prot even though PROT_NONEtools/perf/builtin-trace.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [RESEND PATCH v3 0/2] Always show mmap prot even though PROT_NONE

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)

Changbin Du (2):
perf trace beauty: Always show param if show_zero is set perf trace beauty: Always show mmap prot even though PROT_NONE

 tools/perf/builtin-trace.c | 35 ++++++++++-------------------------
 1 file changed, 10 insertions(+), 25 deletions(-)
Signature · 1 line
2.34.1