[FIX] slot_table items insertion/deletion 04/44204/2
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Sat, 18 Jul 2015 21:07:20 +0000 (00:07 +0300)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Sat, 18 Jul 2015 21:45:01 +0000 (00:45 +0300)
commitcf03533be98eb6778614fc70eed6004c3f3683ea
tree0c7aa7ee2bf8860fab1ea13cbdfa6a0b708a1f01
parentf3a8ef169116be4b5168fd1971cfabd74ed64af8
[FIX] slot_table items insertion/deletion

- Probe instances are added to the table only once (x86).
- Fixed an issue when a freed probe instance was not removed
  from the table.
- Added rw locking to avoid possible race conditions.

Change-Id: I72eae168b991e041a6a2f751dd7e45c379690052
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
uprobe/arch/x86/swap-asm/swap_uprobes.c
uprobe/swap_uprobes.c