projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db68549
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 16:10:52 +0000
(09:10 -0700)
commit
89365e6c9ad4c0e090e4c6a4b67a3ce319381d89
upstream.
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>
Cc: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/util/map.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/map.c
b/tools/perf/util/map.c
index
9593f27
..
5f5080f
100644
(file)
--- a/
tools/perf/util/map.c
+++ b/
tools/perf/util/map.c
@@
-16,6
+16,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)");
}