Add comment for the mmap() of the whole trace file

Also refine some coding styles.
Delete useless findPrevious* member function
Use the report_fatal_error instead of the exit
Refactor the find entry trace member function

Don't need the found variable to hint and return. Just return and report
fatal error at the end of the function.