mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
6a6fac11b1
The build of file libperf-jvmti.so succeeds but the resulting
object fails to load:
# ~/linux/tools/perf/perf record -k mono -- java \
-XX:+PreserveFramePointer \
-agentpath:/root/linux/tools/perf/libperf-jvmti.so \
hog 100000 123450
Error occurred during initialization of VM
Could not find agent library /root/linux/tools/perf/libperf-jvmti.so
in absolute path, with error:
/root/linux/tools/perf/libperf-jvmti.so: undefined symbol: _ctype
Add the missing _ctype symbol into the build script.
Fixes:
|
||
---|---|---|
.. | ||
Build | ||
jvmti_agent.c | ||
jvmti_agent.h | ||
libjvmti.c |