Messages in this thread | | | Subject | Re: [syzbot] KASAN: stack-out-of-bounds Read in profile_pc | From | Andi Kleen <> | Date | Thu, 3 Jun 2021 06:52:19 -0700 |
| |
> True, ftrace does have function profiling (function_profile_enabled). > > Steve, is there a way to enable that on the kernel cmdline?
That's not really comparable. function profiling has a lot more overhead. Also there is various code which has ftrace instrumentation disabled.
I don't think why you want to kill the old profiler. It's rarely used, but when you need it usually works. It's always good to have simple fall backs. And it's not that it's a lot of difficult code.
-Andi
| |