Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751249AbdFEBtM (ORCPT ); Sun, 4 Jun 2017 21:49:12 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:54364 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751189AbdFEBtF (ORCPT ); Sun, 4 Jun 2017 21:49:05 -0400 Date: Sun, 04 Jun 2017 21:49:02 -0400 (EDT) Message-Id: <20170604.214902.1742081587444351722.davem@davemloft.net> To: ast@fb.com Cc: peterz@infradead.org, bgregg@netflix.com, daniel@iogearbox.net, qinteng@fb.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH v4 net-next 0/3] bpf: Add BPF support to all perf_event From: David Miller In-Reply-To: <20170603040354.3580555-1-ast@fb.com> References: <20170603040354.3580555-1-ast@fb.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 04 Jun 2017 18:07:26 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 592 Lines: 16 From: Alexei Starovoitov Date: Fri, 2 Jun 2017 21:03:51 -0700 > v3->v4: one more tweak to reject unsupported events at map > update time as Peter suggested > > v2->v3: more refactoring to address Peter's feedback. > Now all perf_events are attachable and readable > > v1->v2: address Peter's feedback. Refactor patch 1 to allow attaching > bpf programs to all event types and reading counters from all of them as well > patch 2 - more tests > patch 3 - address Dave's feedback and document bpf_perf_event_read() > and bpf_perf_event_output() properly Series applied, thanks.