On Mon, 12 May 2025 16:08:42 +0200 Tomas Glozar <[email protected]> wrote:
> It seems that it is trying to access a struct tracepoint object whose > func field is NULL. I have not tried attaching to dynamic events > through perf before, so I don't know whether this is just > unimplemented and poorly handled or a regression. For what it's worth, > it also happens on CentOS Stream 9 kernel (5.14.0-578.el9). I think it is unimplemented and poorly handled ;-) If this is something you want, we can add the feature for it, but for this release and stable kernels, as it's not a regression, the fix is to have it not produce a warning and give something like "-EINVAL" back to the perf system call. -- Steve
