Commit-ID: f752e90e9c00da2a1994e2e1b1a04505b46a6a4c Gitweb: http://git.kernel.org/tip/f752e90e9c00da2a1994e2e1b1a04505b46a6a4c Author: Wang Nan <[email protected]> AuthorDate: Wed, 14 Sep 2016 10:57:28 +0000 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 19 Sep 2016 11:25:07 -0300
perf trace beauty mmap: Add missing MADV_FREE tools/perf/trace/beauty/mmap.c forgets to check MADV_FREE. This patch fixes it. Signed-off-by: Wang Nan <[email protected]> Cc: Naveen N. Rao <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> --- tools/perf/trace/beauty/mmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/trace/beauty/mmap.c b/tools/perf/trace/beauty/mmap.c index 3629b45..fd710ab 100644 --- 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);

