Re: [RFC PATCH] x86/syscalls: allow tracing of __do_sys_[syscall] functions

From: Steven Rostedt
Date: Mon Sep 26 2022 - 13:22:00 EST


On Tue, 20 Sep 2022 11:47:11 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> #3 I think Steve's concern is that the tracability of a function then
> depends on the compiler's whim -- but yeah, who cares ;-)

As I mentioned in my other email. I was tired of the bug reports telling me
it was a bug that a function was no longer available for tracing because
the compiler decided to inline it. By having notrace on all inlines, it
made it consistent no matter what the compiler decided to do, and those bug
reports went away ;-)

-- Steve