Re: [PATCH x86 v2] uprobe: emulate push insns for uprobe on x86

2017-11-09 Thread Yonghong Song
On 11/9/17 3:26 AM, David Laight wrote: From: Yonghong Song Sent: 09 November 2017 00:55 Uprobe is a tracing mechanism for userspace programs. Typical uprobe will incur overhead of two traps. First trap is caused by replaced trap insn, and the second trap is to execute the original displaced

RE: [PATCH x86 v2] uprobe: emulate push insns for uprobe on x86

2017-11-09 Thread David Laight
From: Yonghong Song > Sent: 09 November 2017 00:55 > > Uprobe is a tracing mechanism for userspace programs. > Typical uprobe will incur overhead of two traps. > First trap is caused by replaced trap insn, and > the second trap is to execute the original displaced > insn in user space. > > To redu