Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756227AbcKKJvs (ORCPT ); Fri, 11 Nov 2016 04:51:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46396 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756176AbcKKJvo (ORCPT ); Fri, 11 Nov 2016 04:51:44 -0500 Date: Fri, 11 Nov 2016 10:51:38 +0100 From: Jiri Olsa To: Stephane Eranian Cc: Arnaldo Carvalho de Melo , lkml , Ingo Molnar , Peter Zijlstra , Andi Kleen , William Cohen , Namhyung Kim , David Ahern Subject: Re: [PATCH 0/3] perf tools: Plug jvmti compilation into perf build Message-ID: <20161111095138.GA8185@krava> References: <1478093749-5602-1-git-send-email-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1478093749-5602-1-git-send-email-jolsa@kernel.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 11 Nov 2016 09:51:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1457 Lines: 47 On Wed, Nov 02, 2016 at 02:35:46PM +0100, Jiri Olsa wrote: > hi, > adding jvmti compilation under perf build, so it's easy > to put it under rpm. > > I plan on updating fedora/rhel perf rpm, to have the jvmti > placed in like: > > $ rpm -qpl build/x86_64/perf-4.8.5-300.fc24.x86_64.rpm | grep jvmti > /usr/lib64/libperf-jvmti.so > > Stephane, > I'm keeping the jvmti/Makefile as I dont fully follow > the need for .lo objects. Please let me know if you'd > be ok with this new way of building jvmti lib. ping thanks, jirka > > Also available in: > git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > perf/fixes > > thanks, > jirla > > > --- > Jiri Olsa (3): > tools build: Add CFLAGS_REMOVE_* support > tools build: Add jvmti feature detection support > perf tools: Plug jvmti compilation into perf build > > tools/build/Build.include | 4 +++- > tools/build/Documentation/Build.txt | 6 ++++-- > tools/build/feature/Makefile | 6 +++++- > tools/build/feature/test-jvmti.c | 13 +++++++++++++ > tools/perf/Makefile.config | 26 ++++++++++++++++++++++++++ > tools/perf/Makefile.perf | 24 +++++++++++++++++++++++- > tools/perf/jvmti/Build | 8 ++++++++ > tools/perf/tests/make | 2 +- > 8 files changed, 83 insertions(+), 6 deletions(-) > create mode 100644 tools/build/feature/test-jvmti.c > create mode 100644 tools/perf/jvmti/Build