* Oleg Nesterov <[email protected]> [2015-07-07 03:22:58]: > Add the x86-specific version of arch_uretprobe_is_alive() helper. > It returns true if the stack frame mangled by prepare_uretprobe() > is still on stack. So if it returns false, we know that the probed > function has already returned. > > We add the new return_instance->stack member and change the generic > code to initialize it in prepare_uretprobe, but it should be equally > useful for other architectures. > > TODO: this assumes that the probed application can't use multiple > stacks (say sigaltstack). We will try to improve this logic later. > > Signed-off-by: Oleg Nesterov <[email protected]>
Looks good to me. Acked-by: Srikar Dronamraju <[email protected]> -- Thanks and Regards Srikar Dronamraju -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

