Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbbH2CwE (ORCPT ); Fri, 28 Aug 2015 22:52:04 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:3345 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbbH2CwC (ORCPT ); Fri, 28 Aug 2015 22:52:02 -0400 Message-ID: <55E11E10.8060204@huawei.com> Date: Sat, 29 Aug 2015 10:50:56 +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 , CC: , , , , , , , , , , , , Arnaldo Carvalho de Melo , Ingo Molnar , Steven Rostedt Subject: Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf event References: <1440745570-150857-1-git-send-email-wangnan0@huawei.com> <1440745570-150857-33-git-send-email-wangnan0@huawei.com> <55E10091.6020107@plumgrid.com> <55E108BC.4050107@huawei.com> <55E10C2D.5090300@plumgrid.com> <55E115BD.6090909@huawei.com> <55E1174A.2000102@plumgrid.com> <55E11AB1.5020203@huawei.com> <55E11DC7.80709@plumgrid.com> In-Reply-To: <55E11DC7.80709@plumgrid.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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 789 Lines: 23 On 2015/8/29 10:49, Alexei Starovoitov wrote: > On 8/28/15 7:36 PM, Wangnan (F) wrote: >> For current patch 32/32, I think it is useful enough for some simple >> cases, >> and we have already start using it internally. What about keep it as >> what it >> is now and create a independent method for your usecase? > > well, though the patch is small and contained, I think we can do better > and define more generic helper. I believe Namhyung back in July had > the same concern. > OK. I'll drop this one in my next pull request. Thank you. -- 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/