Re: [PATCH v3 06/10] perf tools: Factor out dso__find_binary_type()

From: Ian Rogers

Date: Mon Oct 12 2026 - 17:41:40 EST


On Sun, Oct 11, 2026 at 10:26 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> Separate out the logic to detect binary type of a DSO. It checks if the
> candidate file contains ".text" section. It should be called under the
> dso lock.

Could we add an EXCLUSIVE_LOCKS_REQUIRED for this?

Thanks,
Ian