summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes2/uprobes.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-22 11:57:40 -0400
committerDave Brolley <brolley@redhat.com>2009-04-22 11:57:40 -0400
commitbc815e0692536da04956f038f5f79941579f8d74 (patch)
tree98b0f8cfdd90c225f5b5fede18352caee5d9a546 /runtime/uprobes2/uprobes.c
parent88e8da383e47adafc9e75c4f10aecd0ce4ad959f (diff)
parent247f1e1fa09953347a4e5313ae0022f151316dae (diff)
downloadsystemtap-steved-bc815e0692536da04956f038f5f79941579f8d74.tar.gz
systemtap-steved-bc815e0692536da04956f038f5f79941579f8d74.tar.xz
systemtap-steved-bc815e0692536da04956f038f5f79941579f8d74.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/uprobes2/uprobes.c')
-rw-r--r--runtime/uprobes2/uprobes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/uprobes2/uprobes.c b/runtime/uprobes2/uprobes.c
index 9ea05349..07ad3984 100644
--- a/runtime/uprobes2/uprobes.c
+++ b/runtime/uprobes2/uprobes.c
@@ -2239,7 +2239,8 @@ static u32 uprobe_report_exit(enum utrace_resume_action action,
}
}
up_read(&uproc->rwsem);
- if (utask->state == UPTASK_TRAMPOLINE_HIT)
+ if (utask->state == UPTASK_TRAMPOLINE_HIT ||
+ utask->state == UPTASK_BP_HIT)
uprobe_decref_process(uproc);
}