Skip to content
Snippets Groups Projects
Unverified Commit ef55e488 authored by Sergey Kaplun's avatar Sergey Kaplun Committed by Igor Munkin
Browse files

luajit: bump new version


LuaJIT submodule is bumped to introduce the following changes:
* tools: introduce --leak-only memprof parser option

Within this changeset the new Lua module providing post-processing
routines for parsed memory events is introduced:
* memprof/process.lua: post-process the collected events

The changes provide an option showing only heap difference. One can
launch memory profile parser with the introduced option via the
following command:
$ tarantool -e 'require("memprof")(arg)' - --leak-only filename.bin

Closes #5812

Reviewed-by: default avatarIgor Munkin <imun@tarantool.org>
Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>
parent afcef769
No related branches found
No related tags found
No related merge requests found
## feature/luajit
* Now memory profiler parser reports heap difference occurring during
the measurement interval (gh-5812). New memory profiler's option
`--leak-only` shows only heap difference is introduced. New built-in
module `memprof.process` is introduced to perform memory events
post-processing and aggregation. Now to launch memory profiler
via Tarantool user should use the following command:
`tarantool -e 'require("memprof")(arg)' - --leak-only /tmp/memprof.bin`
......@@ -65,6 +65,7 @@ lua_source(lua_sources ${LUAJIT_BINARY_ROOT}/src/jit/vmdef.lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/memprof.lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/memprof/humanize.lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/memprof/parse.lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/memprof/process.lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/utils/bufread.lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/utils/symtab.lua)
......
......@@ -125,6 +125,7 @@ extern char strict_lua[],
bufread_lua[],
symtab_lua[],
parse_lua[],
process_lua[],
humanize_lua[],
memprof_lua[]
;
......@@ -177,6 +178,7 @@ static const char *lua_modules[] = {
"utils.bufread", bufread_lua,
"utils.symtab", symtab_lua,
"memprof.parse", parse_lua,
"memprof.process", process_lua,
"memprof.humanize", humanize_lua,
"memprof", memprof_lua,
NULL
......
Subproject commit fae1681dd1c117a913f99cbeed0ca2b87cf581a1
Subproject commit 20f79e9d6356d4659d84192c55c0b3f4f46293fe
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment