WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit af3fb3e9 authored by John Zhang's avatar John Zhang
Browse files

script for downloading and setting up libpfm4

parent bf5253e2
# local settings
# libpfm4
# Byte-compiled / optimized / DLL files
if [ `uname` != 'Linux' ]; then
echo 'Perfmon2 only supports Linux!'
exit 1
set -x # echo and execute
tar xf libpfm-4.8.0.tar.gz
cd libpfm-4.8.0
sudo make PREFIX=$DEST_DIR install
sudo chown -R $USER:$USER $DEST_DIR
cp -r perf_examples $DEST_DIR
cd ..
rm libpfm-4.8.0.tar.gz
# rm -rf libpfm-4.8.0
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment