From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759259AbbJ3JLB (ORCPT ); Fri, 30 Oct 2015 05:11:01 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:32847 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758417AbbJ3JK4 (ORCPT ); Fri, 30 Oct 2015 05:10:56 -0400 Date: Fri, 30 Oct 2015 10:10:52 +0100 From: Ingo Molnar To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Adrian Hunter , Alexei Starovoitov , Andi Kleen , Brendan Gregg , Daniel Borkmann , David Ahern , He Kuang , Jiri Olsa , Kaixu Xia , Kan Liang , Masami Hiramatsu , Namhyung Kim , Peter Zijlstra , pi3orama@163.com, Rabin Vincent , Stephane Eranian , Wang Nan , Yuanfang Chen , Zefan Li , Arnaldo Carvalho de Melo Subject: Re: [GIT PULL 0/8] perf/core improvements and fixes Message-ID: <20151030091051.GA7424@gmail.com> References: <1446159937-28763-1-git-send-email-acme@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446159937-28763-1-git-send-email-acme@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > This one gets us to pass .c files that gets built and > loaded, next step will be to be able to access function arguments, > for which there are patches available, but I'm still reviewing them. > > Please consider pulling, > > - Arnaldo > > The following changes since commit 66a565c203bc31b76969711fbd92da11bee2f129: > > Merge tag 'perf-ebpf-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-10-29 13:17:56 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo > > for you to fetch changes up to 7ed4915ad60788d6b846e2cd034f49ee15698143: > > perf unwind: Pass symbol source to libunwind (2015-10-29 17:48:38 -0300) > > ---------------------------------------------------------------- > perf/core improvements and fixes: > > New features: > > - Allow passing C language eBPF scriptlets via --event in all tools, > so that it gets built using clang and then pass it to the kernel via > sys_bpf() (Wang Nan) > > - Wire up the loaded ebpf object file with associated kprobes, so that > it can determine if the kprobes will be filtered or not (Wang Nan) > > User visible: > > - Add cmd string table to decode sys_bpf first arg in 'trace' (Arnaldo Carvalho de Melo) > > - Enable printing of branch stack in 'perf script' (Stephane Eranian) > > - Pass the right file with debug info to libunwind (Rabin Vincent) > > Build Fixes: > > - Make sure fixdep is built before libbpf, fixing a race (Jiri Olsa) > > - Fix libiberty feature detection (Rabin Vincent) > > Signed-off-by: Arnaldo Carvalho de Melo > > ---------------------------------------------------------------- > Arnaldo Carvalho de Melo (1): > perf trace: Add cmd string table to decode sys_bpf first arg > > Jiri Olsa (1): > perf tools: Make sure fixdep is built before libbpf > > Rabin Vincent (2): > tools build: Fix libiberty feature detection > perf unwind: Pass symbol source to libunwind > > Stephane Eranian (1): > perf script: Enable printing of branch stack > > Wang Nan (3): > perf bpf: Attach eBPF filter to perf event > perf record: Add clang options for compiling BPF scripts > perf tools: Compile scriptlets to BPF objects when passing '.c' to --event > > tools/build/feature/Makefile | 4 +- > tools/perf/Documentation/perf-record.txt | 6 +++ > tools/perf/Documentation/perf-script.txt | 14 +++++- > tools/perf/Makefile.perf | 2 +- > tools/perf/builtin-record.c | 7 +++ > tools/perf/builtin-script.c | 82 +++++++++++++++++++++++++++++++- > tools/perf/builtin-trace.c | 7 +++ > tools/perf/tests/bpf-script-example.c | 44 +++++++++++++++++ > tools/perf/util/bpf-loader.c | 17 ++++++- > tools/perf/util/bpf-loader.h | 5 +- > tools/perf/util/evsel.c | 17 +++++++ > tools/perf/util/evsel.h | 1 + > tools/perf/util/parse-events.c | 11 ++++- > tools/perf/util/parse-events.h | 3 +- > tools/perf/util/parse-events.l | 3 ++ > tools/perf/util/parse-events.y | 15 +++++- > tools/perf/util/unwind-libunwind.c | 5 +- > 17 files changed, 227 insertions(+), 16 deletions(-) > create mode 100644 tools/perf/tests/bpf-script-example.c Pulled, thanks a lot Arnaldo! Ingo