Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933509AbbKSBiD (ORCPT ); Wed, 18 Nov 2015 20:38:03 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:62323 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933235AbbKSBh1 (ORCPT ); Wed, 18 Nov 2015 20:37:27 -0500 Message-ID: <564D27C3.4020200@huawei.com> Date: Thu, 19 Nov 2015 09:37:07 +0800 From: "Wangnan (F)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Alexei Starovoitov , "Arnaldo Carvalho de Melo" , Sukadev Bhattiprolu CC: Jiri Olsa , , Subject: Re: [PATCH] perf test: Add bpf-output event References: <20151118192603.GA374@us.ibm.com> <20151118205039.GX22729@kernel.org> <20151118231437.GA78885@ast-mbp.thefacebook.com> In-Reply-To: <20151118231437.GA78885@ast-mbp.thefacebook.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.564D27CA.0091,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ff62154a306e941e5764f892cba5b938 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1675 Lines: 42 On 2015/11/19 7:14, Alexei Starovoitov wrote: > On Wed, Nov 18, 2015 at 05:50:39PM -0300, Arnaldo Carvalho de Melo wrote: >> Em Wed, Nov 18, 2015 at 11:26:04AM -0800, Sukadev Bhattiprolu escreveu: >>> >From 8f71d55dd3e27e6ca2138e3ed6dfeceb1c00a426 Mon Sep 17 00:00:00 2001 >>> From: Sukadev Bhattiprolu >>> Date: Wed, 18 Nov 2015 19:06:08 -0500 >>> Subject: [PATCH] perf test: Add bpf-output event >>> >>> The kernel has added support for 'PERF_COUNT_SW_BPF_OUTPUT' but that is >>> missing from the perf tool. Among other things, results in the 'roundtrip >>> evsel->name check' test case of 'perf test' failing on Powerpc. >> Next time can you please state if this is for this merge window or for >> the next? >> >> Will apply it for perf/core, for the next merge window. > wait a sec, I believe Wang has posted an RFC a month ago that adds support > for this properly instead of simply shutting up the error. Yes. Please have a look at http://lkml.kernel.org/g/1446029705-199659-3-git-send-email-wangnan0@huawei.com and patch 23/31 - 31/31 in http://lkml.kernel.org/g/1444826502-49291-1-git-send-email-wangnan0@huawei.com We are working on a solution which truly utilizes bpf-output, including filling event array and extracting BPF output through perf data to CTF format. Now they are separated in multiple patchset, and I'd like to resend them to Arnaldo in this week. Thank you. [SNIP] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/