Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754097AbcKBNfz (ORCPT ); Wed, 2 Nov 2016 09:35:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46856 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752535AbcKBNfy (ORCPT ); Wed, 2 Nov 2016 09:35:54 -0400 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Peter Zijlstra , Andi Kleen , William Cohen , Stephane Eranian , Namhyung Kim , David Ahern Subject: [PATCH 0/3] perf tools: Plug jvmti compilation into perf build Date: Wed, 2 Nov 2016 14:35:46 +0100 Message-Id: <1478093749-5602-1-git-send-email-jolsa@kernel.org> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 02 Nov 2016 13:35:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1296 Lines: 40 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. 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