Re: [PATCH v1 5/9] uretprobes: Return probe entry, prepare_uretprobe()

2013-04-07 Thread Srikar Dronamraju
* Anton Arapov [2013-04-03 18:00:35]: > When a uprobe with return probe consumer is hit, prepare_uretprobe() > function is invoked. It creates return_instance, hijacks return address > and replaces it with the trampoline. > > * Return instances are kept as stack per uprobed task. > * Return inst

[PATCH v1 5/9] uretprobes: Return probe entry, prepare_uretprobe()

2013-04-03 Thread Anton Arapov
When a uprobe with return probe consumer is hit, prepare_uretprobe() function is invoked. It creates return_instance, hijacks return address and replaces it with the trampoline. * Return instances are kept as stack per uprobed task. * Return instance is chained, when the original return address is