diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-12 21:59:47 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-12 21:59:47 +0100 |
commit | 0f393148da8c462a142b60b68fd7fd1f024a1787 (patch) | |
tree | 067978f322339e3b102aaeb443a9568780fd1e86 /Libraries/LibELF/ELFLoader.h | |
parent | 078ee798f790fd62fa6a9b03c07576af44afc4ca (diff) | |
download | serenity-0f393148da8c462a142b60b68fd7fd1f024a1787.zip |
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.
Diffstat (limited to 'Libraries/LibELF/ELFLoader.h')
-rw-r--r-- | Libraries/LibELF/ELFLoader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibELF/ELFLoader.h b/Libraries/LibELF/ELFLoader.h index ab607c10ad..6d80fd31b1 100644 --- a/Libraries/LibELF/ELFLoader.h +++ b/Libraries/LibELF/ELFLoader.h @@ -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(); |