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: remove unused arguments
memprof: refactor `heap_chunk` data structure
build: fix tool components handling
build: purge sysprof.collapse module

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

NO_DOC=LJ
NO_TEST=LJ
  • Loading branch information
mkokryashkin committed Dec 6, 2023
1 parent a03064b commit f19fa4e
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/parse.lua sysprof_par
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/symtab.lua utils_symtab_lua)
lua_source(lua_sources ${LUAJIT_SOURCE_ROOT}/tools/utils/safe_event_reader.lua utils_safe_event_reader_lua)

if(EMBED_LUAROCKS)
include("luarocks_lua_sources.cmake")
Expand Down
2 changes: 2 additions & 0 deletions src/lua/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ extern char minifio_lua[],
utils_avl_lua[],
utils_bufread_lua[],
utils_symtab_lua[],
utils_safe_event_reader_lua[],
memprof_parse_lua[],
memprof_process_lua[],
memprof_humanize_lua[],
Expand Down Expand Up @@ -325,6 +326,7 @@ static const char *lua_modules[] = {
"utils.avl", utils_avl_lua,
"utils.bufread", utils_bufread_lua,
"utils.symtab", utils_symtab_lua,
"utils.safe_event_reader", utils_safe_event_reader_lua,
"memprof.parse", memprof_parse_lua,
"memprof.process", memprof_process_lua,
"memprof.humanize", memprof_humanize_lua,
Expand Down

0 comments on commit f19fa4e

Please sign in to comment.