updated with echo comment to indicate how to get perf working in ubuntu

This commit is contained in:
Mark Vejvoda 2013-04-29 02:43:11 +00:00
parent d303170b3f
commit 68f587e3ae
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,13 @@
echo 'Recording performnce stats...'
echo 'cat /proc/sys/kernel/kptr_restrict'
echo '1'
#echo 'echo 0 > /proc/sys/kernel/kptr_restrict'
echo 'sudo sh -c "echo 0 > /proc/sys/kernel/kptr_restrict"'
echo 'cat /proc/sys/kernel/kptr_restrict'
echo '0'
perf record ./megaglest $@
perf report