projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3539d2
)
perf tools: Handle JITed code in shared memory
author
Andi Kleen
<ak@linux.intel.com>
Thu, 25 Apr 2013 00:03:02 +0000
(17:03 -0700)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Tue, 28 May 2013 13:23:58 +0000
(16:23 +0300)
Need to check for /dev/zero.
Most likely more strings are missing too.
Signed-off-by: Andi Kleen <ak@linux.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@redhat.com>
tools/perf/util/map.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/map.c
b/tools/perf/util/map.c
index 6fcb9de623401b8ac731c3c240eb1cd5863683f4..8bcdf9e54089acaf4963eb8288305bcba4d047d6 100644
(file)
--- 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)");
}