diff options
| author | Oleg Nesterov <[email protected]> | 2015-07-21 15:40:23 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-07-31 10:38:05 +0200 |
| commit | a5b7e1a89b820f2b9b23634ca4c59b555e8d9a0d (patch) | |
| tree | 6c15eed109c9cc8982f428dc2d8a6b56b7aeb5fc /tools/perf/scripts/python | |
| parent | 5eeb50de42fd3251845d03c556db012267c72b3f (diff) | |
uprobes: Change prepare_uretprobe() to (try to) flush the dead frames
Change prepare_uretprobe() to flush the !arch_uretprobe_is_alive()
return_instance's. This is not needed correctness-wise, but can help
to avoid the failure caused by MAX_URETPROBE_DEPTH.
Note: in this case arch_uretprobe_is_alive() can be false
positive, the stack can grow after longjmp(). Unfortunately, the
kernel can't 100% solve this problem, but see the next patch.
Tested-by: Pratyush Anand <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Srikar Dronamraju <[email protected]>
Acked-by: Anton Arapov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions