2017-11-09 00:11:56

by Yonghong Song

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



On 11/8/17 4:06 PM, David Miller wrote:
> From: Yonghong Song <[email protected]>
> 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.

Right. This is not related to bpf. Will remove the "bpf" from the
subject line in the next revision.

>
> Thank you.
>

From 1583544862755777988@xxx Thu Nov 09 00:07:44 +0000 2017
X-GM-THRID: 1583535533505282119
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread