[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <31768751-b471-c80b-a22e-aa385508940d@fb.com>
Date: Thu, 1 Jun 2017 08:21:22 -0700
From: Alexei Starovoitov <ast@...com>
To: Peter Zijlstra <peterz@...radead.org>
CC: "David S . Miller" <davem@...emloft.net>,
Brendan Gregg <bgregg@...flix.com>,
Daniel Borkmann <daniel@...earbox.net>,
Teng Qin <qinteng@...com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 net-next 1/3] perf, bpf: Add BPF support to all
perf_event types
On 6/1/17 6:32 AM, Peter Zijlstra wrote:
> OK, do that. Something like the below should do I suppose.
>
> It will return -EOPNOTSUPP for permanent failure (it cannot ever work)
> and -EINVAL for temporary failure (could work if you call it on another
> task/cpu).
Thanks! Will test it and report back.
Powered by blists - more mailing lists