Fixed the way that pprof packed profile data in BE.

pprof was writing profile data in a way that only works for little-endian
files, this patch verifies if the system is big-endian and writes packed
data correctly.
1 file changed