Open main menu

CDOT Wiki β

Changes

Team Sonic

112 bytes added, 20:32, 7 February 2013
m
Added more text
# $ sprof -p [LOCATION OF MODULE] [LOCATION OF PROFILE FILE] > log <BR />'''Example:''' sprof -p ../modules/LolaBunny/libLolaBunny.so /var/tmp/libLolaBunny.so.profile > log <br />'''Note.''' /var/tmp/ was my default location for profiles. Man ld.so for LD_PROFILE_EXPORT
You should now have a log file in your current dir, which has a flat-profile of the module:(Note. This was run with the smallest possible volume size, running it at 512 or higher takes much much longer)
<pre>