[Tarantool-patches] [PATCH luajit v7 0/2] memprof: C-symbols resolving
Maxim Kokryashkin
max.kokryashkin at gmail.com
Wed Apr 6 16:16:54 MSK 2022
Changes in v7:
- Fixed comments as per review by Sergey
- Added tests for different types of hash sections.
Maxim Kokryashkin (2):
memprof: extend symtab with C-symbols
memprof: enrich symtab with newly loaded symbols
Makefile.original | 2 +-
src/lj_memprof.c | 405 +++++++++++++++++-
src/lj_memprof.h | 17 +-
test/tarantool-tests/CMakeLists.txt | 4 +
.../gh-5813-resolving-of-c-symbols.test.lua | 91 ++++
.../both/CMakeLists.txt | 4 +
.../both/resboth.c | 17 +
.../gnuhash/CMakeLists.txt | 4 +
.../gnuhash/resgnuhash.c | 17 +
.../hash/CMakeLists.txt | 4 +
.../hash/reshash.c | 17 +
.../stripped/CMakeLists.txt | 4 +
.../stripped/resstripped.c | 17 +
test/tarantool-tests/tools-utils-avl.test.lua | 52 +++
tools/CMakeLists.txt | 2 +
tools/memprof.lua | 5 +
tools/memprof/parse.lua | 15 +
tools/utils/avl.lua | 113 +++++
tools/utils/symtab.lua | 29 +-
19 files changed, 805 insertions(+), 14 deletions(-)
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols.test.lua
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/both/CMakeLists.txt
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/both/resboth.c
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/gnuhash/CMakeLists.txt
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/gnuhash/resgnuhash.c
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/hash/CMakeLists.txt
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/hash/reshash.c
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/stripped/CMakeLists.txt
create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/stripped/resstripped.c
create mode 100644 test/tarantool-tests/tools-utils-avl.test.lua
create mode 100644 tools/utils/avl.lua
--
2.35.1
More information about the Tarantool-patches
mailing list