Re: [PATCH 1/2] perf: cs-etm: No-op refactor of synth opt usage

From: Arnaldo Carvalho de Melo
Date: Tue Feb 15 2022 - 10:07:46 EST


Em Fri, Feb 11, 2022 at 11:20:26PM +0800, Leo Yan escreveu:
> On Thu, Feb 10, 2022 at 08:06:19PM +0000, James Clark wrote:
> > sample_branches and sample_instructions are already saved in the
> > synth_opts struct. Other usages like synth_opts.last_branch don't save
> > a value, so make this more consistent by always going through synth_opts
> > and not saving duplicate values.
> >
> > Signed-off-by: James Clark <james.clark@xxxxxxx>
>
> The patch looks good to me:
>
> Reviewed-by: Leo Yan <leo.yan@xxxxxxxxxx>


Thanks, applied.

- Arnaldo