Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752841AbbFPFac (ORCPT ); Tue, 16 Jun 2015 01:30:32 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:37772 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751397AbbFPFaX (ORCPT ); Tue, 16 Jun 2015 01:30:23 -0400 Message-ID: <557FB286.8040302@huawei.com> Date: Tue, 16 Jun 2015 13:22:14 +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: , , , , Subject: Re: [RFC PATCH v7 00/37] perf tools: filtering events using eBPF programs References: <1434087345-127225-1-git-send-email-wangnan0@huawei.com> <557B0FB4.6000506@plumgrid.com> In-Reply-To: <557B0FB4.6000506@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: 918 Lines: 28 On 2015/6/13 0:58, Alexei Starovoitov wrote: > > btw, what compile times do you see? > On my machine compiling basic hello_world.c with #include bpf_helpers.h > and few kernel headers take: 0.02 sec > So using .c is quite instant. Feels like interpreted language ;) Sorry I didn't see your question for several days. It takes 1.63 seconds for perf to compile lock_page.c I posted in previous mail. Most of the time is consumed by kernel include directories detection. If skip the detector and passes options through cmdline, time reduced to 0.2 seconds. My environment is a server equipped with Intel Xeon 2.4G cores. However the storage is NFS based. 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/