Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key

From: Arnaldo Carvalho de Melo
Date: Wed Oct 05 2016 - 07:05:40 EST


Em Wed, Oct 05, 2016 at 08:01:41AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Thu, Sep 22, 2016 at 05:36:48PM +0200, Jiri Olsa escreveu:
> > +
> > + return snprintf(hpp->buf, hpp->size, "%*s", width, hex_str(addr));
>
> So here you get that static buffer and then truncate it? Wouldn't the
> perf_hpp stuff take care of this? Can't we stop using that static buffer
> and this truncation at such a level?

So please consider continuing from what I left at the tmp.perf/c2c.2
branch in my tree,

Thanks,

- Arnaldo