Skip to content

perf test: Add test for java symbol

Leo Yan linux-perf-users lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Skipped test if jshell is not existed (Namhyung);
- Fixed a typo for s/if/elif/ (Namhyung).

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf subcmd: Set environment variable "PREFIX"tools/lib/subcmd/exec-cmd.c+3 -00 replies
2/2perf test: Introduce script for java symbol testingtools/perf/tests/shell/test_java_symbol.sh+75 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] perf test: Add test for java symbol

This patch set is to add a test for java symbol.

To allow a shell script to know the installed lib path, we need to export the environment variable "PREFIX" in the C code. We use the first patch for this purpose. The second patch introduces the java symbol testing.

The test has been verified on x86_64 machine with perf/core branch with the latest commit 62e64c9d2fd1 ("perf test: Add basic core_wide expression test").

Changes from v2:
- Skipped test if jshell is not existed (Namhyung);
- Fixed a typo for s/if/elif/ (Namhyung).

Changes from v1:
- Added Ian's suggested tag;
- Added the search folder for the system lib libperf-jvmti.so;
- Skip the test if fail to find jvmti lib.

Leo Yan (2):
perf subcmd: Set environment variable "PREFIX" perf test: Introduce script for java symbol testing

 tools/lib/subcmd/exec-cmd.c                |  3 +
 tools/perf/tests/shell/test_java_symbol.sh | 75 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)
 create mode 100755 tools/perf/tests/shell/test_java_symbol.sh
Signature · 1 line
2.34.1