| i#5505 raw2trace: Upgrading raw2trace for processing kernel PT data (#6110) This update enhances raw2trace to decode kernel Processor Trace (PT) files and append the kernel trace to the output trace. - (1) Adds a new file type flag to indicate whether the output directory contains PT data. - (2) Upgrades raw2trace_directory to support managing kernel PT files. - (3) Enables PT raw data conversion into trace_entry_t instances using drpt2ir and drir2trace in raw2trace. - (4) Upgrades the basic_counts tool to support printing the number of userspace and kernel instructions. - (5) Refactors pt2ir_t to use a new static member variable to store images shared between all pt2ir_t instances. - (6) Fixes the memory leak issue on drpttracer. Issue: #5505 | 2 年前 |