Re: [PATCH v6 0/9] perf c2c: add a function view

From: Jiebin Sun

Date: Mon Aug 10 2026 - 01:27:41 EST


Hi Namhyung,

> Thanks for doing that. I think you may change the code to take pointers
> instead of direct references.

Yes, this works. In v8, builtin-c2c.c passes the required state and the
cacheline detail callback through struct c2c_function_view_args. The
browser no longer references command-private symbols, so c2c-function.o
stays in libperf-ui.a.

Thanks,
Jiebin