Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754226AbbGBSl5 (ORCPT ); Thu, 2 Jul 2015 14:41:57 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:34785 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754159AbbGBSlt (ORCPT ); Thu, 2 Jul 2015 14:41:49 -0400 Message-ID: <559585EC.8000203@plumgrid.com> Date: Thu, 02 Jul 2015 11:41:48 -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: He Kuang , rostedt@goodmis.org, masami.hiramatsu.pt@hitachi.com, acme@kernel.org, a.p.zijlstra@chello.nl, mingo@redhat.com, namhyung@kernel.org, jolsa@kernel.org CC: wangnan0@huawei.com, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 1/4] bpf: Put perf_events check ahead of bpf prog References: <559386D7.1020208@huawei.com> <1435845043-107196-1-git-send-email-hekuang@huawei.com> <1435845043-107196-2-git-send-email-hekuang@huawei.com> In-Reply-To: <1435845043-107196-2-git-send-email-hekuang@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: 804 Lines: 17 On 7/2/15 6:50 AM, He Kuang wrote: > When we add a kprobe point and record events by perf, the execution path > of all threads on each cpu will enter this point, but perf may only > record events on a particular thread or cpu at this kprobe point, a > check on call->perf_events list filters out the threads which perf is > not recording. as explained in the other thread, I don't like this patch at all. please let discussion come to conclusion first before resending the same stuff over and over. btw, I'll be off-grid till Sunday due to July 4 holidays. -- 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/