RE: [PATCH V2] tools/perf: Add --exclude-buildids option to perf archive command

From: Li, Tianyou
Date: Sun Jun 29 2025 - 21:36:46 EST


Thanks Namhyung, very appreciated for your review.

Regards,
Tianyou

-----Original Message-----
From: Namhyung Kim <namhyung@xxxxxxxxxx>
Sent: Saturday, June 28, 2025 2:53 AM
To: Peter Zijlstra <peterz@xxxxxxxxxxxxx>; Ingo Molnar <mingo@xxxxxxxxxx>; Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>; Li, Tianyou <tianyou.li@xxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>; Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>; Jiri Olsa <jolsa@xxxxxxxxxx>; Ian Rogers <irogers@xxxxxxxxxx>; Hunter, Adrian <adrian.hunter@xxxxxxxxx>; Kan Liang <kan.liang@xxxxxxxxxxxxxxx>; Guo, Wangyang <wangyang.guo@xxxxxxxxx>; linux-perf-users@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH V2] tools/perf: Add --exclude-buildids option to perf archive command

On Thu, 26 Jun 2025 00:14:01 +0800, Tianyou Li wrote:
> When make a perf archive, it may contains the binaries that user did
> not want to ship with, add --exclude-buildids option to specify a file
> which contains the buildids need to be excluded. The file can be generated from command:
>
> perf buildid-list -i perf.data --with-hits | grep -v "^ " >
> exclude-buildids.txt
>
> Then remove the lines from the exclude-buildids.txt for buildids should be included.
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung