Re: [for-next][PATCH 14/15] tracepoint: Do not fail unregistering a probe due to memory failure

Peter Zijlstra
2021-02-03T17:06:22Z

On Wed, Feb 03, 2021 at 11:05:31AM -0500, Steven Rostedt wrote:
> [ Note, this version does use undefined compiler behavior (assuming that
> a stub function with no parameters or return, can be called by a location
> that thinks it has parameters but still no return value. Static calls
> do the same thing, so this trick is not without precedent.

Specifically it relies on the C ABI being caller cleanup. CDECL is that.