mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
Profiler: Share the mapped kernel between Profile and DisassemblyModel
There is no point in keeping around a separate MappedFile object for /boot/Kernel.debug for each DisassemblyModel we create and re-parsing the kernel image multiple times. This will significantly speed up browsing through profile entries from the kernel in disassembly view.
This commit is contained in:
parent
c19c306744
commit
80b660132c
4 changed files with 18 additions and 18 deletions
|
@ -54,7 +54,6 @@ private:
|
|||
|
||||
Profile& m_profile;
|
||||
ProfileNode& m_node;
|
||||
RefPtr<MappedFile> m_kernel_file;
|
||||
|
||||
Vector<InstructionData> m_instructions;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue