Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757805AbbEFEll (ORCPT ); Wed, 6 May 2015 00:41:41 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:23390 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbbEFEli (ORCPT ); Wed, 6 May 2015 00:41:38 -0400 Message-ID: <55499B6A.3030704@huawei.com> Date: Wed, 6 May 2015 12:41:14 +0800 From: Wang Nan User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Alexei Starovoitov , He Kuang , , , , , , CC: , Subject: Re: [RFC PATCH 0/6] perf bpf: Probing with local variable References: <1430820612-84443-1-git-send-email-hekuang@huawei.com> <554944C1.3060705@plumgrid.com> <5549914F.9070808@huawei.com> <55499453.7070509@plumgrid.com> In-Reply-To: <55499453.7070509@plumgrid.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.69.129] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.55499B7E.00DD,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 4e773c294bf9904f326200586bdb7f01 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1052 Lines: 27 On 2015/5/6 12:10, Alexei Starovoitov wrote: > On 5/5/15 8:58 PM, Wang Nan wrote: >>> Two high level comments: >>> - can you collapse SEC("config") with SEC("func_name") ? >>> It seems that "func_name" is only used as reference inside "config". >>> I understand that you're proposing one "config" section where multiple >>> descriptions are strcat together, but why? Something like: >>> SEC("kprobe/generic_perform_write+122(file->f_mapping->a_ops, bytes, offset)") >>> int func(...) { ... } >>> should be enough and more concise. >>> >> >> Is it possible to use such a long section name? I introduce 'config' section > > yes. of course. I don't know what is the limit, but it's definitely > above 512 characters. It can contains spaces and special chars too. > Good. Let's get rid of config section. -- 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/