* [PATCH] perf, map: Don't try to find DSOs in SYSV maps
@ 2014-08-20 2:31 Don Zickus
2014-08-20 11:25 ` Arnaldo Carvalho de Melo
2014-08-24 14:56 ` [tip:perf/core] perf symbols: " tip-bot for Don Zickus
0 siblings, 2 replies; 3+ messages in thread
From: Don Zickus @ 2014-08-20 2:31 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo, Jiri Olsa; +Cc: eranian, LKML, Don Zickus, Joe Mario
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.
Signed-off-by: Joe Mario <jmario@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
--
I am open to suggetions for a different fix - dcz
---
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 25c571f..0294f40 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -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]");
}
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] perf, map: Don't try to find DSOs in SYSV maps
2014-08-20 2:31 [PATCH] perf, map: Don't try to find DSOs in SYSV maps Don Zickus
@ 2014-08-20 11:25 ` Arnaldo Carvalho de Melo
2014-08-24 14:56 ` [tip:perf/core] perf symbols: " tip-bot for Don Zickus
1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2014-08-20 11:25 UTC (permalink / raw)
To: Don Zickus; +Cc: Jiri Olsa, eranian, LKML, Joe Mario
Em Tue, Aug 19, 2014 at 10:31:14PM -0400, Don Zickus escreveu:
> 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.
> Signed-off-by: Joe Mario <jmario@redhat.com>
> Signed-off-by: Don Zickus <dzickus@redhat.com>
> --
> I am open to suggetions for a different fix - dcz
> ---
> 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 25c571f..0294f40 100644
> --- a/tools/perf/util/map.c
> +++ b/tools/perf/util/map.c
> @@ -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]");
> }
>
> --
> 1.7.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:perf/core] perf symbols: Don't try to find DSOs in SYSV maps
2014-08-20 2:31 [PATCH] perf, map: Don't try to find DSOs in SYSV maps Don Zickus
2014-08-20 11:25 ` Arnaldo Carvalho de Melo
@ 2014-08-24 14:56 ` tip-bot for Don Zickus
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Don Zickus @ 2014-08-24 14:56 UTC (permalink / raw)
To: linux-tip-commits
Cc: acme, linux-kernel, eranian, hpa, mingo, jmario, jolsa, tglx,
dzickus
Commit-ID: 700be564308bcfc217bd3515d634b56f0c3c1bbb
Gitweb: http://git.kernel.org/tip/700be564308bcfc217bd3515d634b56f0c3c1bbb
Author: Don Zickus <dzickus@redhat.com>
AuthorDate: Tue, 19 Aug 2014 22:31:14 -0400
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
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.
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Joe Mario <jmario@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1408501874-244377-1-git-send-email-dzickus@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/map.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index 31b8905..b709059 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -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]");
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-24 14:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 2:31 [PATCH] perf, map: Don't try to find DSOs in SYSV maps Don Zickus
2014-08-20 11:25 ` Arnaldo Carvalho de Melo
2014-08-24 14:56 ` [tip:perf/core] perf symbols: " tip-bot for Don Zickus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).