summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-04-21 21:21:02 +0200
committerMark Wielaard <mjw@redhat.com>2009-04-21 21:21:02 +0200
commita1e1eec32d27dec37acbc1d65696304abac7ff32 (patch)
tree65931cc528251495337a1a885388e6b1046c68ea /runtime
parent192d5136bbfcd1e61c2f17cc52df875a954d24ec (diff)
parent04f659b4cab24ea27dc91b361419bd29e0e73c55 (diff)
downloadsystemtap-steved-a1e1eec32d27dec37acbc1d65696304abac7ff32.tar.gz
systemtap-steved-a1e1eec32d27dec37acbc1d65696304abac7ff32.tar.xz
systemtap-steved-a1e1eec32d27dec37acbc1d65696304abac7ff32.zip
Merge branch 'master' of ssh://sourceware.org/git/systemtap
Diffstat (limited to 'runtime')
-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);
}