1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

Kernel: Separate out the symbol offsets in profile output

Instead of saying "main +39" and "main +57" etc, we now have a separate
field in /proc/profile for the offset-into-the-symbol.
This commit is contained in:
Andreas Kling 2019-12-12 21:59:47 +01:00
parent 078ee798f7
commit 0f393148da
5 changed files with 19 additions and 8 deletions

View file

@ -27,7 +27,7 @@ public:
bool has_symbols() const { return m_image.symbol_count(); }
String symbolicate(u32 address) const;
String symbolicate(u32 address, u32* offset = nullptr) const;
private:
bool layout();