[lkml]   [2014]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [PATCH] perf/powerpc: Cache the DWARF debug info
Em Thu, Oct 23, 2014 at 05:13:06PM +0200, Jiri Olsa escreveu:
> On Thu, Oct 23, 2014 at 11:26:34AM -0300, Arnaldo Carvalho de Melo wrote:
> > That is why I thought it would be a compromise to put what he did, it
> > would not make the existing situation that much worse, work needs to be
> > done in this area :-\

> I think we just need to put that libdw handle into dso object
> as I suggested above

Isn't it there already?

The patch does:

+++ b/tools/perf/util/dso.h
@@ -127,6 +127,7 @@ struct dso {
const char *long_name;
u16 long_name_len;
u16 short_name_len;
+ void *dwfl; /* DWARF debug info */

What you want, on top of that, at a minimum, we somehow limit the number
of simultaneously dwfl_begin()'ed DSOs, right?

- Arnaldo

 \ /
  Last update: 2014-10-23 18:01    [W:0.038 / U:8.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site