projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd60fba
)
perf trace beauty mmap: Add missing MADV_FREE
author
Wang Nan
<wangnan0@huawei.com>
Wed, 14 Sep 2016 10:57:28 +0000
(10:57 +0000)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 19 Sep 2016 14:25:07 +0000
(11:25 -0300)
tools/perf/trace/beauty/mmap.c forgets to check MADV_FREE.
This patch fixes it.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link:
http://lkml.kernel.org/r/1473850649-83389-2-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/mmap.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/trace/beauty/mmap.c
b/tools/perf/trace/beauty/mmap.c
index 3629b45b8e930ab9f94f86b1e07bf87d62818e07..fd710ab33684e65e6b62acc62ac51b5e12d02b35 100644
(file)
--- a/
tools/perf/trace/beauty/mmap.c
+++ b/
tools/perf/trace/beauty/mmap.c
@@
-101,6
+101,7
@@
static size_t syscall_arg__scnprintf_madvise_behavior(char *bf, size_t size,
P_MADV_BHV(SEQUENTIAL);
P_MADV_BHV(WILLNEED);
P_MADV_BHV(DONTNEED);
+ P_MADV_BHV(FREE);
P_MADV_BHV(REMOVE);
P_MADV_BHV(DONTFORK);
P_MADV_BHV(DOFORK);