forked from LuaJIT/LuaJIT
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memprof: extend symtab with C symbols
This commit provides an ability to enrich memprof's symbol table with information about C symbols. The parser is updated correspondingly. If there is .symtab section or at least .dynsym segment in a shared library, then memprof dumps its contents in symtab. The <sym> was extended the following way: | sym := sym-lua | sym-cfunc | sym-trace | sym-final | sym-cfunc := sym-header sym-addr sym-name If none of those are present, then instead of a symbol name and its address there will be name and address of a shared library containing that symbol. Resolves tarantool/tarantool#5813 Reviewed-by: Sergey Kaplun <skaplun@tarantool.org> Reviewed-by: Igor Munkin <imun@tarantool.org> Signed-off-by: Igor Munkin <imun@tarantool.org>
- Loading branch information
1 parent
0243fb7
commit 88d2600
Showing
18 changed files
with
720 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.