perf, map: Don't try to find DSOs in SYSV maps
PATCH 1/1 perf, map: Don't try to find DSOs in SYSV maps
We are seeing a lot of the following with regards to SYSV memory
Failed to open /SYSV0000279c, continuing without symbols
We don't believe this memory will have DSO info, so treat it like the heap and stack for now and skip it to prevent the warning.
--
I am open to suggetions for a different fix - dcz
--- tools/perf/util/map.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
tools/perf/util/map.c +1 -0
@@ -29,6 +29,7 @@ static inline int is_anon_memory(const char *filename)static inline int is_no_dso_memory (const char *filename) {return !strncmp (filename,"[stack" ,6 ) || + !strncmp (filename,"/SYSV" ,5 ) || !strcmp (filename,"[heap]" ); }
Signature · 1 line
1.7.1
Em Tue, Aug 19, 2014 at 10:31:14PM -0400, Don Zickus escreveu:
Quoted 6 lines
We are seeing a lot of the following with regards to SYSV memory
Failed to open /SYSV0000279c, continuing without symbols
We don't believe this memory will have DSO info, so treat it like the heap and stack for now and skip it to prevent the warning.
Thanks, applied.
Quoted 22 lines
Signed-off-by Joe Mario <[email protected]>Signed-off-by Don Zickus <[email protected]>--
I am open to suggetions for a different fix - dcz--- tools/perf/util/map.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)tools/perf/util/map.c +1
-0@@ -29,6 +29,7 @@ static inline int is_anon_memory(const char *filename)static inline int is_no_dso_memory (const char *filename) {return !strncmp (filename,"[stack" ,6 ) || + !strncmp (filename,"/SYSV" ,5 ) || !strcmp (filename,"[heap]" ); }Signature · 1 line
1.7.1
tip-bot for Don Zickus
merge bot[tip:perf/core] perf symbols: Don't try to find DSOs in SYSV maps
In reply to Don Zickusperf symbols: Don't try to find DSOs in SYSV maps
Commit-ID: 700be564308bcfc217bd3515d634b56f0c3c1bbb Gitweb: http://git.kernel.org/tip/700be564308bcfc217bd3515d634b56f0c3c1bbb Author: Don Zickus <[email protected]> AuthorDate: Tue, 19 Aug 2014 22:31:14 -0400 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 20 Aug 2014 08:26:09 -0300
perf symbols: Don't try to find DSOs in SYSV maps
We are seeing a lot of the following with regards to SYSV memory
Failed to open /SYSV0000279c, continuing without symbols
We don't believe this memory will have DSO info, so treat it like the heap and stack for now and skip it to prevent the warning.
--- tools/perf/util/map.c | 1 + 1 file changed, 1 insertion(+)
tools/perf/util/map.c +1 -0
@@ -31,6 +31,7 @@ static inline int is_anon_memory(const char *filename)static inline int is_no_dso_memory (const char *filename) {return !strncmp (filename,"[stack" ,6 ) || + !strncmp (filename,"/SYSV" ,5 ) || !strcmp (filename,"[heap]" ); }