[FIX] synchronizing of unregister_uprobe() 64/58964/1
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Wed, 3 Feb 2016 09:05:11 +0000 (12:05 +0300)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Fri, 5 Feb 2016 09:55:18 +0000 (12:55 +0300)
commit00f860f7feb78394c35d4a0a3913a6e6f562ccd0
tree1a5f76bae5abc86e4dea412a130c7888b4a9338b
parentd51b62a81151e057e55de5789822229ff916cde8
[FIX] synchronizing of unregister_uprobe()

Add atomic usage counter to uprobe struct and check it before remove uprobe.

Change-Id: Idc7804d38028413d68d4fbac41813ca3899e5443
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
uprobe/arch/arm/swap-asm/swap_uprobes.c
uprobe/arch/x86/swap-asm/swap_uprobes.c
uprobe/swap_uprobes.c
uprobe/swap_uprobes.h