Re: [PATCH x86/urgent] bpf: emulate push insns for uprobe on x86

From: David Miller
Date: Wed Nov 08 2017 - 19:07:00 EST


From: Yonghong Song <yhs@xxxxxx>
Date: Wed, 8 Nov 2017 13:37:12 -0800

> 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.
...

I don't understand how this is bpf related, and if it is you don't
explain it well in the commit message.

Thank you.