Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1495802
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key |
| Date | 2016-10-05 12:50 +0200 |
| Message-ID | <soRVT-86P-7@gated-at.bofh.it> (permalink) |
| References | <skegp-8a2-3@gated-at.bofh.it> <skegq-8a2-33@gated-at.bofh.it> <soBep-5lJ-1@gated-at.bofh.it> <soGH7-ug-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Em Wed, Oct 05, 2016 at 12:46:12AM +0200, Jiri Olsa escreveu: > On Tue, Oct 04, 2016 at 01:50:12PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Sep 22, 2016 at 05:36:48PM +0200, Jiri Olsa escreveu: > > > Adding dcacheline dimension key support. It > > > displays cacheline address as hex number. > > > > > > Using c2c wrapper to standard 'dcacheline' object > > > to defined own header and simple (just address) > > > cacheline output. > > > > So, at this point I move from: > > > > # perf c2c report > > Error: Invalid --fields key: `dcacheline' > > # > > > > To: > > > > [root@jouet ~]# perf c2c report > > Error: Unknown --fields key: `offset' > > Segmentation fault (core dumped) > > [root@jouet ~]# > > oops, attached patch should fix that, but I needed to change > following patches: > > perf c2c report: Add cacheline hists processing > perf c2c report: Decode c2c_stats for hist entries > > I updated perf/c2c_v4 branch with the fix and rebased > to your current perf/core.. let me know if I need to > repost > > thanks, > jirka ok, I'm trying to fix it myself, starting with this: + ret = c2c_hists__init(hists, sort); + if (ret) + free(hists); + + return &hists->hists; That is on "perf c2c report: Add cacheline hists processing" > > --- > diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c > index 335c0fd30757..74c7822460e1 100644 > --- a/tools/perf/builtin-c2c.c > +++ b/tools/perf/builtin-c2c.c > @@ -86,7 +86,7 @@ he__get_c2c_hists(struct hist_entry *he, > > ret = c2c_hists__init(hists, sort); > if (ret) > - free(hists); > + zfree(&hists); > > return hists; > }
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-04 19:00 +0200
Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key Jiri Olsa <jolsa@redhat.com> - 2016-10-05 00:50 +0200
Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-05 12:50 +0200
Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-05 13:00 +0200
Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key Jiri Olsa <jolsa@redhat.com> - 2016-10-05 14:40 +0200
Re: [PATCH 20/57] perf c2c report: Add dcacheline dimension key Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-05 15:30 +0200
csiph-web