diff options
author | Changbin Du <[email protected]> | 2024-05-22 11:35:42 +0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-05-29 22:48:23 -0700 |
commit | f975c13d2a34a335fc559aeff76dcaba456cced0 (patch) | |
tree | c109f2338fd5fa393e5c79d800db9e28606e7e35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 92968dcc037fed045dab5c8e52b51255d77f5432 (diff) |
perf trace beauty: Always show mmap prot even though PROT_NONE
PROT_NONE is also useful information, so do not omit the mmap prot even
though it is 0. syscall_arg__scnprintf_mmap_prot() could print PROT_NONE
for prot 0.
Before: PROT_NONE is not shown.
$ 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)
Signed-off-by: Changbin Du <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions