Skip to content

Commit

Permalink
Update the oprofile tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlouis committed Jan 17, 2011
1 parent 8fc85c2 commit 57c81ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/oprofile.sh
@@ -1,9 +1,9 @@
!/bin/sh
set -x

sudo opcontrol --setup --no-vmlinux
sudo opcontrol --setup --vmlinux=/usr/src/linux/vmlinux
sudo opcontrol --init
sudo opcontrol --event=CPU_CLK_UNHALTED:100000:0x00:0:1 --event=L2_LINES_IN:1000:0:0:1
sudo opcontrol --event=CPU_CLK_UNHALTED:100000:0x00:0:1 --event=L2_LINES_IN:2000:0:0:1
sudo opcontrol --reset
sudo opcontrol --start --separate=thread,library

Expand Down

0 comments on commit 57c81ea

Please sign in to comment.