Support multiple profile sessions w/o the need of rebooting.

Bonus changes:
  - Eliminated sending unnecessary SIGHUP to oprofiled when dumping
    samples.
  - fixed a file descriptor leak in read_num().

Change-Id: I79ca35a62df848ceb4e16f2bc62e54b86ab7495f
1 file changed