mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 07:01:39 +02:00
updated with echo comment to indicate how to get perf working in ubuntu
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user