diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-04-24 17:03:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-01 08:55:48 -0700 |
commit | fe826cd4ead9e72cdb0815660a306e267eab34d1 (patch) | |
tree | 8c1ecc3fb2adbc38c0c2dad59178b2b934270ed0 /tools | |
parent | 07d351b5f618e5be5bd97443d25db41eb1bb8244 (diff) | |
download | kernel_samsung_espresso10-fe826cd4ead9e72cdb0815660a306e267eab34d1.zip kernel_samsung_espresso10-fe826cd4ead9e72cdb0815660a306e267eab34d1.tar.gz kernel_samsung_espresso10-fe826cd4ead9e72cdb0815660a306e267eab34d1.tar.bz2 |
perf tools: Handle JITed code in shared memory
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index 9a5d1b9..84e157e 100644 --- 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)"); } |