From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752884AbbFZItX (ORCPT ); Fri, 26 Jun 2015 04:49:23 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:35348 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751665AbbFZItN (ORCPT ); Fri, 26 Jun 2015 04:49:13 -0400 Message-ID: <558D1205.3090100@plumgrid.com> Date: Fri, 26 Jun 2015 01:49:09 -0700 From: Alexei Starovoitov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Wang Nan , acme@kernel.org, brendan.d.gregg@gmail.com, daniel@iogearbox.net, namhyung@kernel.org, masami.hiramatsu.pt@hitachi.com, paulus@samba.org, a.p.zijlstra@chello.nl, mingo@redhat.com, jolsa@kernel.org, dsahern@gmail.com CC: linux-kernel@vger.kernel.org, lizefan@huawei.com, hekuang@huawei.com, xiakaixu@huawei.com, pi3orama@163.com Subject: Re: [RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe References: <1435228645-116055-1-git-send-email-wangnan0@huawei.com> <1435228645-116055-2-git-send-email-wangnan0@huawei.com> In-Reply-To: <1435228645-116055-2-git-send-email-wangnan0@huawei.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/25/15 3:37 AM, Wang Nan wrote: > Before this patch, add_perf_probe_events() init symbol maps only for > uprobe if the first pev passed to it is a uprobe event. However, with > the incoming BPF uprobe support, now it will be possible to pass an > array with combined kprobe and uprobe events to add_perf_probe_events(). > > This patch check all pevs instead of the first one, and init kernel > symbol if any events is not uprobe. > > Signed-off-by: Wang Nan same as other patches: please decipher 'pev'