diff options
author | Laura Abbott <labbott@redhat.com> | 2017-01-06 23:18:08 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-01-11 20:48:00 +0100 |
commit | cd7f355ac4067177e0a45e7331d11472bd7fd7ca (patch) | |
tree | 80bb3228a5d650d379227362109f247b9f4e73d5 /tools/lib | |
parent | perf/x86/intel: Use ULL constant to prevent undefined shift behaviour (diff) | |
download | linux-cd7f355ac4067177e0a45e7331d11472bd7fd7ca.tar.xz linux-cd7f355ac4067177e0a45e7331d11472bd7fd7ca.zip |
perf jvmti: Create libdir directory before installing libperf-jvmti.so
The install command for libperf-jvmti.so does not check if libdir exists
before installing. This means that when the install command is run:
install libperf-jvmti.so '/tmp/test_root/usr/lib64';
libperf-jvmti.so will get installed to /usr/lib64 as a file and break
further installation. Fix this by ensuring the directory gets created
first.
See https://bugzilla.redhat.com/show_bug.cgi?id=1410296
Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: d4dfdf00d43e ("perf jvmti: Plug compilation into perf build")
Link: http://lkml.kernel.org/r/1483741088-13543-1-git-send-email-labbott@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions