diff options
| author | Oleg Nesterov <[email protected]> | 2009-04-02 16:58:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-02 19:05:00 -0700 |
| commit | 1ee1184485df9c9a3503d3a684b911fb7c73d259 (patch) | |
| tree | 0216bc3ebccf1c44b86617cd06e7b93510ef5bb8 /tools/perf/scripts/python | |
| parent | 95a3540da9c81a5987be810e1d9a83640a366bd5 (diff) | |
ptrace_untrace: fix the SIGNAL_STOP_STOPPED check
This bug is ancient too. ptrace_untrace() must not resume the task
if the group stop in progress, we should set TASK_STOPPED instead.
Unfortunately, we still have problems here:
- if the process/thread was traced, SIGNAL_STOP_STOPPED
does not necessary means this thread group is stopped.
- ptrace breaks the bookkeeping of ->group_stop_count.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Jerome Marchand <[email protected]>
Cc: Roland McGrath <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions