diff options
author | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2014-03-29 20:36:33 +0400 |
---|---|---|
committer | Dmitry Kovalenko <d.kovalenko@samsung.com> | 2014-04-02 21:16:33 -0700 |
commit | 2d9d3e0c6534ce8a97f91ce31789bd42fc4c05b7 (patch) | |
tree | a6e97bed428639143e7996eb31309f1e8979acc5 /us_manager/helper.c | |
parent | 0fbc82a9d36d524e9c9728876997f9619da5f1e8 (diff) | |
download | swap-modules-2d9d3e0c6534ce8a97f91ce31789bd42fc4c05b7.tar.gz swap-modules-2d9d3e0c6534ce8a97f91ce31789bd42fc4c05b7.tar.bz2 swap-modules-2d9d3e0c6534ce8a97f91ce31789bd42fc4c05b7.zip |
[FIX] race condition, when stopped US instrumentation
Change-Id: I2f2a85b1b1c6b53215f0990e19ccc32df2f1eb7a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Diffstat (limited to 'us_manager/helper.c')
-rw-r--r-- | us_manager/helper.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/us_manager/helper.c b/us_manager/helper.c index 2ba98ef2..4de32a55 100644 --- a/us_manager/helper.c +++ b/us_manager/helper.c @@ -321,11 +321,14 @@ unregister_unmap: return ret; } -void unregister_helper(void) +void unregister_helper_top(void) { /* uninstall kretprobe with 'handle_mm_fault' */ dbi_unregister_kretprobe(&mf_kretprobe); +} +void unregister_helper_bottom(void) +{ /* uninstall kretprobe with 'do_mmap_pgoff' */ dbi_unregister_kretprobe(&mmap_kretprobe); |