1
Fork 0
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:
Daniel Bertalan 2021-10-26 17:35:35 +02:00 committed by Andreas Kling
parent c19c306744
commit 80b660132c
4 changed files with 18 additions and 18 deletions

View file

@ -54,7 +54,6 @@ private:
Profile& m_profile;
ProfileNode& m_node;
RefPtr<MappedFile> m_kernel_file;
Vector<InstructionData> m_instructions;
};