Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932969AbbHDKnh (ORCPT ); Tue, 4 Aug 2015 06:43:37 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:23461 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932655AbbHDKnf (ORCPT ); Tue, 4 Aug 2015 06:43:35 -0400 Message-ID: <55C0966B.5020801@huawei.com> Date: Tue, 4 Aug 2015 18:39:39 +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: Arnaldo Carvalho de Melo , pi3orama CC: He Kuang , Li Zefan , "Alexei Starovoitov" , Xia Kaixu , , Ingo Molnar , Jiri Olsa , David Ahern , Namhyung Kim Subject: Re: perf eBPF patch ordering. was: Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs References: <55AE2858.6040409@huawei.com> <20150721114151.GF5368@kernel.org> <55AF1EA5.5020500@huawei.com> <20150731153522.GA16700@kernel.org> <20150731203125.GB16700@kernel.org> <55BED407.9090009@huawei.com> <20150803150728.GA3864@kernel.org> <20150803151905.GE3864@kernel.org> <20150803161116.GB5498@kernel.org> <20150803194917.GE5498@kernel.org> <55C04D60.2050101@huawei.com> In-Reply-To: <55C04D60.2050101@huawei.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: 2787 Lines: 89 On 2015/8/4 13:28, Wangnan (F) wrote: > Hi Arnaldo, > > The following changes since commit > 922cc21746202956acb41c89a6190bb50805fa31: > > perf tools: Introduce llvm config options (2015-07-31 12:17:50 -0300) > > are available in the git repository at: > > https://github.com/WangNan0/linux.git ebpf > > for you to fetch changes up to d85bf4b6470b8d860bbae25418e5ae3ccd9711e8: > > perf tools: Support attach BPF program on uprobe events (2015-08-04 > 04:59:20 +0000) > > ---------------------------------------------------------------- > > The new cset has following improvements: > > 1. Improve error message: now don't dump LLVM environment setting > messages > if clang is found. Also, describe how to pre-compile .c file into .o. > > See: perf tools: Call clang to compile C source to object code > https://github.com/WangNan0/linux/commit/264676a5b922aaf1e9be3800fe06d5b67b06cd12 > > > 2. Reorder patches, so when 'perf record' is able to accept '--event > file.c', the BPF filter > should work. Also, an example BPF script file is provided, and the > compilation > method is described in commit message. > > See: > perf tools: Infrastructure for compiling scriptlets when > passing '.c' to --event > https://github.com/WangNan0/linux/commit/eca622f4a88e1a791fc2405c398256ad572eba54 > > > 3. Introduce 'perf test BPF', which uses previous introduced > scriptlet, fork a > 'perf record' to utilise it and uses 'perf report' to check the > result. > > See: perf tests: Enforce LLVM test for BPF test > https://github.com/WangNan0/linux/commit/a7cdab453863c580446dc2c3a3f3a86f21b770ce > > > perf test: Enable 'perf test' run as test targets > https://github.com/WangNan0/linux/commit/b14f2627e95d348be5ec19bd24a5117e8c2ffe46 > > and > perf test: Add 'perf test BPF' > https://github.com/WangNan0/linux/commit/8414217dbfa57df4dbb55642dc26205e1c7cbdf1 > Just realized that 'tempnam' is not safe. Switch to mkdtemp. Please see the new version: https://github.com/WangNan0/linux/commit/bd02aed760c4a35fec4483d24c158799f05f6f9e and pull request update: The following changes since commit 922cc21746202956acb41c89a6190bb50805fa31: perf tools: Introduce llvm config options (2015-07-31 12:17:50 -0300) are available in the git repository at: https://github.com/WangNan0/linux.git ebpf for you to fetch changes up to 47ef1d2a64bd0e7931835e1c40caed21f793c8b8: perf tools: Support attach BPF program on uprobe events (2015-08-04 10:30:50 +0000) 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/