Re: [PATCH 2/9] perf hists: Introduce hists__add_nr_events()

2014-04-22 Thread Namhyung Kim
On Tue, 22 Apr 2014 16:52:03 +0200, Jiri Olsa wrote: > On Tue, Apr 22, 2014 at 05:49:44PM +0900, Namhyung Kim wrote: >> +static void hists__add_nr_events(struct hists *hists, u32 type, u32 val) >> +{ >> +__events_stats__add(&hists->stats, type, val); >> +} > > adding static function with no usa

Re: [PATCH 2/9] perf hists: Introduce hists__add_nr_events()

2014-04-22 Thread Jiri Olsa
On Tue, Apr 22, 2014 at 05:49:44PM +0900, Namhyung Kim wrote: > The hists__add_nr_events() is a helper function intended to be ran > inside of hists__inc_nr_entries(). However this requires other > changes that handled in the next patch. > > Signed-off-by: Namhyung Kim > --- > tools/perf/util/h