mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
Profiler: Cache parsed DWARF debug information in disassembly view
This changes browsing through disassembled functions in Profiler from a painfully sluggish experience into quite a swift one. It's especially true for profiling the kernel, as it has more than 10 megabytes of DWARF data to churn through.
This commit is contained in:
parent
8e1f882ac9
commit
b883652a83
5 changed files with 19 additions and 4 deletions
|
@ -212,6 +212,7 @@ void Profile::rebuild_tree()
|
|||
}
|
||||
|
||||
Optional<MappedObject> g_kernel_debuginfo_object;
|
||||
OwnPtr<Debug::DebugInfo> g_kernel_debug_info;
|
||||
|
||||
Result<NonnullOwnPtr<Profile>, String> Profile::load_from_perfcore_file(const StringView& path)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue