[Tarantool-patches] [PATCH luajit v2 0/6] profilers: refactor parsers

Maxim Kokryashkin max.kokryashkin at gmail.com
Wed Dec 6 21:55:15 MSK 2023


Changes in v2:
- Fixed comments as per review by Sergey Kaplun

Branch: https://github.com/tarantool/luajit/tree/fckxorg/profile-parsers-refactoring
PR: https://github.com/tarantool/tarantool/pull/9438
Issues:
https://github.com/tarantool/tarantool/issues/5994
https://github.com/tarantool/tarantool/issues/9217


Maxim Kokryashkin (6):
  build: purge sysprof.collapse module
  build: fix tool components handling
  memprof: refactor `heap_chunk` data structure
  memprof: remove unused arguments
  memprof: introduce the `--human-readable` option
  profilers: print user-friendly errors

 Makefile.original                             | 16 +++-
 .../gh-5688-tool-cli-flag.test.lua            |  4 +-
 .../gh-5994-memprof-human-readable.test.lua   | 73 +++++++++++++++
 ...17-profile-parsers-error-handling.test.lua | 90 +++++++++++++++++++
 tools/CMakeLists.txt                          | 14 +--
 tools/memprof.lua                             | 33 ++++---
 tools/memprof/humanize.lua                    | 46 +++++++---
 tools/memprof/parse.lua                       | 22 +++--
 tools/sysprof.lua                             | 10 +--
 tools/sysprof/collapse.lua                    |  3 -
 tools/sysprof/parse.lua                       |  2 +-
 tools/utils/safe_event_reader.lua             | 34 +++++++
 tools/utils/symtab.lua                        |  2 +-
 13 files changed, 298 insertions(+), 51 deletions(-)
 create mode 100644 test/tarantool-tests/gh-5994-memprof-human-readable.test.lua
 create mode 100644 test/tarantool-tests/gh-9217-profile-parsers-error-handling.test.lua
 delete mode 100755 tools/sysprof/collapse.lua
 create mode 100644 tools/utils/safe_event_reader.lua

--
2.43.0



More information about the Tarantool-patches mailing list