updated with echo comment to indicate how to get perf working in ubuntu
This commit is contained in:
parent
d303170b3f
commit
68f587e3ae
|
@ -6,6 +6,13 @@
|
||||||
|
|
||||||
echo 'Recording performnce stats...'
|
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 record ./megaglest $@
|
||||||
|
|
||||||
perf report
|
perf report
|
||||||
|
|
Loading…
Reference in New Issue