Re: [PATCH] x86: profiling: Using generic unwinding in profile_pc

From: Andi Kleen
Date: Mon Apr 03 2023 - 14:30:04 EST



On 4/2/2023 6:24 PM, Chen Zhongjin wrote:
Just ping... Or has profile code already been obsoleted?


I think it would be reasonable to remove the locked functions hack since lock profiling can be handled with much better other tools these days.

I wouldn't make it depend on the generic unwinder since such a low level facility is likely better off without complex dependencies that could break.

-Andi