[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-89365e6c9ad4c0e090e4c6a4b67a3ce319381d89@git.kernel.org>
Date: Fri, 31 May 2013 04:31:54 -0700
From: tip-bot for Andi Kleen <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: acme@...hat.com, linux-kernel@...r.kernel.org, hpa@...or.com,
mingo@...nel.org, ak@...ux.intel.com, tglx@...utronix.de
Subject: [tip:perf/core] perf tools: Handle JITed code in shared memory
Commit-ID: 89365e6c9ad4c0e090e4c6a4b67a3ce319381d89
Gitweb: http://git.kernel.org/tip/89365e6c9ad4c0e090e4c6a4b67a3ce319381d89
Author: Andi Kleen <ak@...ux.intel.com>
AuthorDate: Wed, 24 Apr 2013 17:03:02 -0700
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 28 May 2013 16:23:58 +0300
perf tools: Handle JITed code in shared memory
Need to check for /dev/zero.
Most likely more strings are missing too.
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
Link: http://lkml.kernel.org/r/1366848182-30449-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/map.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index 6fcb9de..8bcdf9e 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -21,6 +21,7 @@ const char *map_type__name[MAP__NR_TYPES] = {
static inline int is_anon_memory(const char *filename)
{
return !strcmp(filename, "//anon") ||
+ !strcmp(filename, "/dev/zero (deleted)") ||
!strcmp(filename, "/anon_hugepage (deleted)");
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists