From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936369AbdEWHm5 (ORCPT ); Tue, 23 May 2017 03:42:57 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:38891 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933857AbdEWHmz (ORCPT ); Tue, 23 May 2017 03:42:55 -0400 Date: Tue, 23 May 2017 09:42:47 +0200 From: Peter Zijlstra To: Alexei Starovoitov Cc: "David S . Miller" , Brendan Gregg , Daniel Borkmann , Teng Qin , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH net-next 1/2] perf, bpf: add support for HW_CACHE and RAW events Message-ID: <20170523074247.esnr4fj2squn4w2d@hirez.programming.kicks-ass.net> References: <20170522224840.810121-1-ast@fb.com> <20170522224840.810121-2-ast@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170522224840.810121-2-ast@fb.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 22, 2017 at 03:48:39PM -0700, Alexei Starovoitov wrote: > From: Teng Qin > > This commit adds support for attach BPF program to RAW and HW_CACHE type > events, and support for read HW_CACHE type event counters in BPF > program. Existing code logic already supports them, so this commit is > just update Enum value checks. So what I'm missing is why they were not supported previously, and what changed to allow it now.