linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH v3 0/2] Always show mmap prot even though PROT_NONE
@ 2024-05-22  3:35 Changbin Du
  2024-05-22  3:35 ` [RESEND PATCH v3 1/2] perf trace beauty: Always show param if show_zero is set Changbin Du
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Changbin Du @ 2024-05-22  3:35 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim
  Cc: Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers,
	Adrian Hunter, Liang, Kan, linux-perf-users, linux-kernel,
	Changbin Du

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(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-05-31 21:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-22  3:35 [RESEND PATCH v3 0/2] Always show mmap prot even though PROT_NONE Changbin Du
2024-05-22  3:35 ` [RESEND PATCH v3 1/2] perf trace beauty: Always show param if show_zero is set Changbin Du
2024-05-22  3:35 ` [RESEND PATCH v3 2/2] perf trace beauty: Always show mmap prot even though PROT_NONE Changbin Du
2024-05-31 21:13 ` [RESEND PATCH v3 0/2] " Namhyung Kim

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 NNTP newsgroup(s).