Re: [PATCH v9 3/4] trace_uprobe/sdt: Prevent multiple reference counter for same uprobe

2018-08-21 Thread Song Liu
On Sun, Aug 19, 2018 at 9:42 PM, Ravi Bangoria wrote: > We assume to have only one reference counter for one uprobe. > Don't allow user to add multiple trace_uprobe entries having > same inode+offset but different reference counter. > > Ex, > # echo "p:sdt_tick/loop2 /home/ravi/tick:0x6e4(0x1003

[PATCH v9 3/4] trace_uprobe/sdt: Prevent multiple reference counter for same uprobe

2018-08-19 Thread Ravi Bangoria
We assume to have only one reference counter for one uprobe. Don't allow user to add multiple trace_uprobe entries having same inode+offset but different reference counter. Ex, # echo "p:sdt_tick/loop2 /home/ravi/tick:0x6e4(0x10036)" > uprobe_events # echo "p:sdt_tick/loop2_1 /home/ravi/tick:0