Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001AbbFZIq6 (ORCPT ); Fri, 26 Jun 2015 04:46:58 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:37171 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673AbbFZIpr (ORCPT ); Fri, 26 Jun 2015 04:45:47 -0400 Message-ID: <558D1135.8080709@plumgrid.com> Date: Fri, 26 Jun 2015 01:45:41 -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 2/3] tracing, perf: Implement BPF programs attached to uprobes References: <1435228645-116055-1-git-send-email-wangnan0@huawei.com> <1435228645-116055-3-git-send-email-wangnan0@huawei.com> In-Reply-To: <1435228645-116055-3-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 Content-Length: 750 Lines: 19 On 6/25/15 3:37 AM, Wang Nan wrote: > By copying BPF related operation to uprobe processing path, this patch > allow users attach BPF programs to uprobes like what they are already > doing on kprobes. > > After this patch, users are allowed to use PERF_EVENT_IOC_SET_BPF on a > uprobe perf event. Which make it possible to profile user space programs > and kernel events together using BPF. > > Signed-off-by: Wang Nan That's great. Acked-by: Alexei Starovoitov -- 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/