summaryrefslogtreecommitdiff
path: root/simpleperf/cmd_dumprecord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/cmd_dumprecord.cpp')
-rw-r--r--simpleperf/cmd_dumprecord.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/simpleperf/cmd_dumprecord.cpp b/simpleperf/cmd_dumprecord.cpp
index 8e8bcd21..9d8cba90 100644
--- a/simpleperf/cmd_dumprecord.cpp
+++ b/simpleperf/cmd_dumprecord.cpp
@@ -502,6 +502,14 @@ bool DumpRecordCommand::DumpFeatureSection() {
for (auto offset : record_file_reader_->ReadAuxTraceFeature()) {
PrintIndented(2, "%" PRIu64 "\n", offset);
}
+ } else if (feature == FEAT_DEBUG_UNWIND) {
+ PrintIndented(1, "debug_unwind:\n");
+ if (auto opt_debug_unwind = record_file_reader_->ReadDebugUnwindFeature(); opt_debug_unwind) {
+ for (const DebugUnwindFile& file : opt_debug_unwind.value()) {
+ PrintIndented(2, "path: %s\n", file.path.c_str());
+ PrintIndented(2, "size: %" PRIu64 "\n", file.size);
+ }
+ }
}
}
return true;