Skip to content

Instantly share code, notes, and snippets.

@msharmavikram
Created June 22, 2018 22:54
Show Gist options
  • Save msharmavikram/12e172bf0bc726d760d29728eb68e18f to your computer and use it in GitHub Desktop.
Save msharmavikram/12e172bf0bc726d760d29728eb68e18f to your computer and use it in GitHub Desktop.
Oprofile Installation instruction for Ubuntu 16.04
sudo apt install binutils-dev libpopt-dev libiberty-dev
wget https://astuteinternet.dl.sourceforge.net/project/oprofile/oprofile/oprofile-1.2.0/oprofile-1.2.0.tar.gz
tar -xvf oprofile-1.2.0.tar.gz
cd oprofile-*
./configure
make -j 4
sudo make install
echo "Running application with below command"
echo "sudo operf <your application>"
echo "CHecking report"
echo "opreport"
echo "More Details: http://oprofile.sourceforge.net"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment