Re: [RFC] perf record: Disable debuginfod by default

From: Namhyung Kim
Date: Thu Dec 09 2021 - 18:39:38 EST


Hi Jiri,

On Thu, Dec 9, 2021 at 12:04 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> hi,
> after migrating to fedora 35 I found perf record hanging on exit
> and it's because fedora 35 sets DEBUGINFOD_URLS that triggers
> debuginfod query which might take long time to process.
>
> I discussed this briefly with Frank and I'm sending the change
> to disable debuginfod by default in perf record.
>
> Frank had other idea we could discuss here to fork or just spawn
> "/usr/bin/debuginfod-find ...." into background after perf record.
>
> Perhaps there are other ways as well, hence this is RFC ;-)

I thought the debuginfod was for perf report, not record.
Maybe I'm missing something but how about moving it to
report? We can talk to debuginfod after checking the local
build-id cache and binary on the system.

Still, we can have perf buildid-cache to move it from the
debuginfod to local cache.

Thanks,
Namhyung