Re: [PATCH 1/4] perf buildid-cache: Don't skip 16-byte build-ids
From: Arnaldo Carvalho de Melo
Date: Thu Feb 18 2021 - 14:59:43 EST
Em Wed, Feb 17, 2021 at 08:54:00PM +0100, Jiri Olsa escreveu:
> On Wed, Feb 10, 2021 at 02:17:25PM -0500, Nicholas Fraser wrote:
> > lsdir_bid_tail_filter() ignored any build-id that wasn't exactly 20
> > bytes. This worked only for SHA-1 build-ids. The build-id for a PE file
> > is always a 16-byte GUID and ELF files can also have MD5 or UUID
> > build-ids.
> >
> > This fix changes the filter to allow build-ids between 16 and 20 bytes.
> >
> > Signed-off-by: Nicholas Fraser <nfraser@xxxxxxxxxxxxxxx>
>
> Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Thanks, applied.
- Arnaldo