aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2019-10-08 11:38:41 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-10-15 08:39:42 -0300
commit5fb470bc29d8e2ff0e1cab4fbb580a06da11ab28 (patch)
tree9481133e008dc65bc08f85542a67e9ac3447f2e4 /tools/perf/Documentation
parentperf annotate: Fix objdump --no-show-raw-insn flag (diff)
downloadlinux-dev-5fb470bc29d8e2ff0e1cab4fbb580a06da11ab28.tar.xz
linux-dev-5fb470bc29d8e2ff0e1cab4fbb580a06da11ab28.zip
perf jvmti: Link against tools/lib/ctype.h to have weak strlcpy()
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: 79743bc927f6 ("perf jvmti: Link against tools/lib/string.o to have weak strlcpy()") Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Vasily Gorbik <gor@linux.ibm.com> Link: http://lore.kernel.org/lkml/20191008093841.59387-1-tmricht@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
0 files changed, 0 insertions, 0 deletions