diff options
Diffstat (limited to 'simpleperf/cmd_record.cpp')
-rw-r--r-- | simpleperf/cmd_record.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/simpleperf/cmd_record.cpp b/simpleperf/cmd_record.cpp index 58f9805c..e3390b05 100644 --- a/simpleperf/cmd_record.cpp +++ b/simpleperf/cmd_record.cpp @@ -313,10 +313,6 @@ bool RecordCommand::Run(const std::vector<std::string>& args) { if (!event_selection_set_.FinishReadMmapEventData()) { return false; } - // TODO: remove SortDataSection as we have merged records in memory. - if (!record_file_writer_->SortDataSection()) { - return false; - } // 7. Dump additional features, and close record file. if (!DumpAdditionalFeatures(args)) { @@ -593,12 +589,6 @@ bool RecordCommand::SetEventSelectionFlags() { } } event_selection_set_.SetInherit(child_inherit_); - // TODO: remove SetLowWatermark() as we have merged records in memory. - // If Unwinding while recording, records are used before being sorted. - // By using low watermark, records are almost sorted when read from kernel. - if (dwarf_callchain_sampling_ && unwind_dwarf_callchain_ && !post_unwind_) { - event_selection_set_.SetLowWatermark(); - } return true; } |