Re: [PATCH v5 06/10] Uprobes: Support SDT markers having reference count (semaphore)

From: Ravi Bangoria
Date: Tue Jul 03 2018 - 04:11:29 EST




On 07/03/2018 11:00 AM, Ravi Bangoria wrote:
> In short, if I put it inside install_breakpoint()/remove_breakpoint(),
> I'll have to put the same logic there with more complication to
> increment / decrement counter for each consumer. And additionally,
> I've to maintain sdt_mm_list to make sure increment and decrement
> happen in sync. With current approach, this all happens by default :)

s/this all happens by default/no need to maintain all this/

-Ravi