Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbbEARGe (ORCPT ); Fri, 1 May 2015 13:06:34 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:36722 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751933AbbEARG3 (ORCPT ); Fri, 1 May 2015 13:06:29 -0400 Date: Fri, 1 May 2015 19:06:23 +0200 From: Ingo Molnar To: Alexei Starovoitov Cc: Peter Zijlstra , Wang Nan , davem@davemloft.net, acme@kernel.org, mingo@redhat.com, masami.hiramatsu.pt@hitachi.com, jolsa@kernel.org, lizefan@kernel.org, linux-kernel@vger.kernel.org, pi3orama@163.com, hekuang@huawei.com, bgregg@netflix.com Subject: Re: [RFC PATCH 00/22] perf tools: introduce 'perf bpf' command to load eBPF programs. Message-ID: <20150501170623.GB1657@gmail.com> References: <1430391165-30267-1-git-send-email-wangnan0@huawei.com> <554302F0.3070101@plumgrid.com> <20150501110659.GE5029@twins.programming.kicks-ass.net> <20150501114943.GA24094@gmail.com> <5543B037.9070504@plumgrid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5543B037.9070504@plumgrid.com> 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 Content-Length: 1560 Lines: 40 * Alexei Starovoitov wrote: > On 5/1/15 4:49 AM, Ingo Molnar wrote: > > > >* Peter Zijlstra wrote: > > > >>On Thu, Apr 30, 2015 at 09:37:04PM -0700, Alexei Starovoitov wrote: > >>>We're also working in parallel on creating a new tracing language > >>>that together with llvm backend can be used as a single shared library > >>>that can be called from perf or anything else. > >> > >>Gurgh, please also keep normal C an option. [...] > > > >Absolutely, I thought there was agreement on that when we started > >merging all these eBPF patches ... > > > >It might be 'simplified C', in that it's just a subset of C, but > >please don't re-do something that works, especially if it's used to > >instrument a kernel that is written in C ... > > of course. When did I say that I like 'bird' languages? :) > By 'new' I mean that we're not trying to port existing tracing > language like dtrace, systemtap, ktap to bpf. > I believe dtrace would have been more widely adopted if it didn't > invent new syntax. We're trying to do a C -- with ++. > It's C where non-supported things like 'for', 'while', 'asm' are > actively error-ed by front-end and additional syntactic > sugar for things that too ugly/verbose in vanilla C are added. Ok, sounds very good to me! Thanks, Ingo -- 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/