Skip to content

perf tools: Plug jvmti compilation into perf build

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools build: Add CFLAGS_REMOVE_* supporttools/build/Build.include tools/build/Documentation/Build.txt+7 -32 replies
2/3tools build: Add jvmti feature detection supporttools/build/feature/Makefile tools/build/feature/test-jvmti.c+18 -10 replies
3/3perf tools: Plug jvmti compilation into perf buildtools/perf/Makefile.config tools/perf/Makefile.perf tools/perf/jvmti/Build +1 more+58 -20 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchStephane Eranian
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] perf tools: Plug jvmti compilation into perf build

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