projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e973a93
)
[FIX] Change order of probe register
author
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Tue, 25 Jun 2013 11:31:07 +0000
(15:31 +0400)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Tue, 25 Jun 2013 11:31:07 +0000
(15:31 +0400)
kprobe/dbi_uprobes.c
patch
|
blob
|
history
diff --git
a/kprobe/dbi_uprobes.c
b/kprobe/dbi_uprobes.c
index
14779d3
..
286de1f
100644
(file)
--- a/
kprobe/dbi_uprobes.c
+++ b/
kprobe/dbi_uprobes.c
@@
-252,16
+252,16
@@
int dbi_register_uretprobe(struct task_struct *task, struct kretprobe *rp, int a
rp->nmissed = 0;
- /* Establish function e
xit
probe point */
- ret =
arch_prepare_uretprobe(rp, task
);
+ /* Establish function e
ntry
probe point */
+ ret =
__register_uprobe(&rp->kp, task, atomic
);
if (ret) {
+ free_rp_inst(rp);
goto out;
}
- /* Establish function e
ntry
probe point */
- ret =
__register_uprobe(&rp->kp, task, atomic
);
+ /* Establish function e
xit
probe point */
+ ret =
arch_prepare_uretprobe(rp, task
);
if (ret) {
- free_rp_inst(rp);
goto out;
}