Re: [PATCH] perf tools: apply correct label to user/kernel symbols in branch mode

From: Arnaldo Carvalho de Melo
Date: Sun Feb 06 2022 - 06:53:12 EST


Em Wed, Jan 26, 2022 at 11:27:16AM +0000, James Clark escreveu:
> On 26/01/2022 10:59, German Gomez wrote:
> > @@ -928,7 +928,7 @@ static int hist_entry__sym_to_snprintf(struct hist_entry *he, char *bf,
> > struct addr_map_symbol *to = &he->branch_info->to;
> >
> > return _hist_entry__sym_snprintf(&to->ms, to->al_addr,
> > - he->level, bf, size, width);
> > + to->al_level, bf, size, width);
> > }
> >
> > return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A");
> >
>
> Looks good to me, I didn't see any other usages where it could be broken.
>
> Reviewed-by: James Clark <james.clark@xxxxxxx>


Thanks, applied.

- Arnaldo