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.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

setup_libpfm4.sh 540 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

LIBPFM4_DLINK="https://nchc.dl.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.8.0.tar.gz"
DEST_DIR=$(pwd)/mubench/callbacks/libpfm4

if [ `uname` != 'Linux' ]; then
    echo 'Perfmon2 only supports Linux!'
    exit 1
fi

set -x  # echo and execute

wget $LIBPFM4_DLINK
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
18
19
mkdir $DEST_DIR/util
cp perf_examples/perf_util.h perf_examples/perf_util.c $DEST_DIR/util
20
21
22
cd ..
rm libpfm-4.8.0.tar.gz
# rm -rf libpfm-4.8.0