simpleperf: refactor debug_unwind cmd.

debug_unwind cmd was used to unwind perf.data generated by --no-unwind,
and generate a new perf.data with UnwindingResultRecord.
To prepare supporting debug unwinding by --keep-failed-unwinding-debug-info,
this patch refactors debug_unwind cmd as below:
1. Add --unwind-sample for unwinding samples. Move this function to
SampleUnwinder class.
2. Change output format from perf.data to text, which is easier to use.

Bug: 181075274
Test: run simpleperf_unit_test
Change-Id: I9210e9c6da2a8978b42fa2226f0bb4d4bf771744
2 files changed