Re: [PATCH v2] perf report: Fix a no annotate browser displayed issue

From: Arnaldo Carvalho de Melo
Date: Thu Jan 04 2018 - 13:45:33 EST


Em Tue, Dec 26, 2017 at 06:42:43PM +0800, Jin Yao escreveu:
> v2:
> --
> Fix a crash bug when perform 'perf report --stdio'.
>
> The reason is that we init the symbol annotation only in browser mode,
> it doesn't allocate/init resources for stdio mode.
>
> So now in hist_iter__branch_callback(), it will return directly if it's
> not in browser mode.

Thanks, tested and applied!

- Arnaldo