Skip to content

Commit

Permalink
luajit: bump new version
Browse files Browse the repository at this point in the history
profilers: print user-friendly errors
memprof: introduce the `--human-readable` option
memprof: refactor `heap_chunk` data structure
cmake: properly handle the memprof/process.lua

Closes tarantool#9217
Part of tarantool#5994
Part of tarantool#8700

NO_DOC=LJ
NO_TEST=LJ
  • Loading branch information
mkokryashkin committed Dec 3, 2023
1 parent ffa6ac1 commit e23c837
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelogs/unreleased/gh-5994-profile-parsers-refactoring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## bugfix/luajit

* Fixed the `memprof/process.lua` installation.
* Added `--human-readable` option to memprof parser.
* Added user-friendly error reporting to profile parsers.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/sysprof/collapse.lua sysprof_
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/sysprof/parse.lua sysprof_parse_lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/utils/avl.lua utils_avl_lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/utils/bufread.lua utils_bufread_lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/utils/profile_data_reader.lua utils_profile_data_reader_lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/utils/symtab.lua utils_symtab_lua)

if(EMBED_LUAROCKS)
Expand Down
2 changes: 2 additions & 0 deletions src/lua/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ extern char minifio_lua[],
/* tools.* libraries. */
utils_avl_lua[],
utils_bufread_lua[],
utils_profile_data_reader_lua[],
utils_symtab_lua[],
memprof_parse_lua[],
memprof_process_lua[],
Expand Down Expand Up @@ -325,6 +326,7 @@ static const char *lua_modules[] = {
/* tools.* libraries. Order is important. */
"utils.avl", utils_avl_lua,
"utils.bufread", utils_bufread_lua,
"utils.profile_data_reader", utils_profile_data_reader_lua,
"utils.symtab", utils_symtab_lua,
"memprof.parse", memprof_parse_lua,
"memprof.process", memprof_process_lua,
Expand Down

0 comments on commit e23c837

Please sign in to comment.