From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932663AbbFEMGO (ORCPT ); Fri, 5 Jun 2015 08:06:14 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:33637 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754234AbbFEMF4 (ORCPT ); Fri, 5 Jun 2015 08:05:56 -0400 Date: Fri, 5 Jun 2015 14:05:50 +0200 From: Ingo Molnar To: "Wangnan (F)" Cc: Alexei Starovoitov , pi3orama , Arnaldo Carvalho de Melo , "linux-kernel@vger.kernel.org" , Adrian Hunter , Brendan Gregg , Daniel Borkmann , David Ahern , He Kuang , Jiri Olsa , Kaixu Xia , Madhavan Srinivasan , Masami Hiramatsu , Michael Ellerman , Namhyung Kim , Peter Zijlstra , Sukadev Bhattiprolu , Zefan Li , Arnaldo Carvalho de Melo , Alexei Starovoitov Subject: Re: [GIT PULL 0/6] perf/core improvements and fixes Message-ID: <20150605120550.GA14097@gmail.com> References: <20150604054854.GA10969@gmail.com> <556FEB32.8040909@huawei.com> <20150604072153.GA18983@gmail.com> <557021D3.7070900@huawei.com> <20150604124033.GA10580@gmail.com> <0108CD89-BFFA-4A68-90AE-A34597777641@163.com> <20150604140412.GB14445@gmail.com> <55707B3F.2070704@plumgrid.com> <20150605064114.GA18341@gmail.com> <5571636F.1020403@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5571636F.1020403@huawei.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 * Wangnan (F) wrote: > OK. Let's start making a nice UI. Thanks! > [...] > > One problem I can find is that, the wrapper will make perf depend on llvm. I > don't think the compiler will be deployed in production environments... And > also, the embedded case... What dependencies are there? On the usage side there should be very few outright dependencies: if the llvm binary is not available, or doesn't support what you need, or there's no runtime environment you can use to build the bytecode, you should display an informative error message so that the user knows what is missing and how to install it. Thanks, Ingo