[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160226235331.GK5083@two.firstfloor.org>
Date: Sat, 27 Feb 2016 00:53:31 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Andi Kleen <andi@...stfloor.org>, acme@...nel.org,
jolsa@...nel.org, linux-kernel@...r.kernel.org, eranian@...gle.com,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 3/6] perf, tools, stat: Support metrics in
--per-core/socket mode
> > +
> > static void print_aggr(char *prefix)
> > {
> > FILE *output = stat_config.output;
> > @@ -982,6 +1024,8 @@ static void print_aggr(char *prefix)
> > if (!(aggr_map || aggr_get_id))
> > return;
> >
> > + aggr_update_shadow();
>
> this should be called from perf_stat_process_counter,
> not from display function
I tried it, but the function needs a lot of stuff (aggr_map,
evsel_list) that only exists in builtin-stat. Passing all
that around is quite complicated and intrusive.
I left it alone for now.
-Andi
Powered by blists - more mailing lists