git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Add anonymous huge page recognition
[pandora-kernel.git]
/
tools
/
perf
/
util
/
map.c
diff --git
a/tools/perf/util/map.c
b/tools/perf/util/map.c
index
78284b1
..
42dffa0
100644
(file)
--- a/
tools/perf/util/map.c
+++ b/
tools/perf/util/map.c
@@
-15,7
+15,8
@@
const char *map_type__name[MAP__NR_TYPES] = {
static inline int is_anon_memory(const char *filename)
{
- return strcmp(filename, "//anon") == 0;
+ return !strcmp(filename, "//anon") ||
+ !strcmp(filename, "/anon_hugepage (deleted)");
}
static inline int is_no_dso_memory(const char *filename)