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

From: Leo Yan
Date: Fri Aug 05 2022 - 23:34:49 EST


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 my x86_64 machine with mainline kernel.


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 | 66 ++++++++++++++++++++++
2 files changed, 69 insertions(+)
create mode 100755 tools/perf/tests/shell/test_java_symbol.sh

--
2.25.1