Re: [PATCH 07/21] perf report: Cache cumulative callchains

From: Jiri Olsa
Date: Sun Jan 05 2014 - 12:11:00 EST


On Tue, Dec 24, 2013 at 05:22:13PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>

SNIP

> return hist_entry__inc_addr_samples(he, evsel->idx, al->addr);
> }
>
> @@ -476,6 +522,8 @@ iter_finish_cumulative_entry(struct add_entry_iter *iter,
> evsel->hists.stats.total_period += sample->period;
> hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
>
> + free(iter->priv);
> + iter->priv = NULL;

zfree ;-)

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/