Re: [RFC 00/13] objtool: Function validation tracing

From: Peter Zijlstra
Date: Wed Jun 11 2025 - 10:22:31 EST


On Wed, Jun 11, 2025 at 08:00:32AM +0200, Alexandre Chartre wrote:

> > That would also mean disas_warned_funcs() would be disabled on missing
> > binutils-devel. But I think that's probably fine. In fact that will
> > now have less reason for existing now that we have this tracing. Maybe
> > we won't need it at all.
> >
>
> We can also fall back to using objdump if binutils-devel is not there.

I don't think that is needed; normal builds will never use this code.
Just print "Rebuild with libopcodes for disasm support" or somesuch when
not present. Then developers will know what to do when they need it.