Re: Build failure bft for trace-cmd and libtraceevent

Steven Rostedt <[email protected]> Sun, 8 Feb 2026 16:32:11 -0500
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <20260208163211.63e645cb@robin>
On Sun, 8 Feb 2026 21:53:31 +0100
Giulio Benetti <[email protected]> wrote:

> Otherwise the solution could be to switch according to Linux version
> between print_args() with and without bft support, basically re-adding
> the function here:
> https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/commit/?id=e798103c0815e6642e74d9317c325b2c62681f2e
> 
> What do you think about it?

Is the failure found at runtime? That is, the loaded BTF file doesn't
parse correctly? What is the error exactly?

I guess if the tep_btf_print_args() fails, it should just print the raw
args then.

-- Steve