Re: [PATCH v2] rethook: Remove warning messages printed for finding return address of a frame.

2024-04-08 Thread Google
On Mon, 8 Apr 2024 10:51:40 -0700 Kui-Feng Lee wrote: > The function rethook_find_ret_addr() prints a warning message and returns 0 > when the target task is running and is not the "current" task in order to > prevent the incorrect return address, although it still may return an > incorrect

[PATCH v2] rethook: Remove warning messages printed for finding return address of a frame.

2024-04-08 Thread Kui-Feng Lee
The function rethook_find_ret_addr() prints a warning message and returns 0 when the target task is running and is not the "current" task in order to prevent the incorrect return address, although it still may return an incorrect address. However, the warning message turns into noise when BPF