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

Maxim Kokryashkin max.kokryashkin at gmail.com
Mon Dec 4 16:24:58 MSK 2023


This patchset contains various imporvements for profile parsers.
This set of changes is only the first part of what's coming after
the patch with ptrace testing. All of the serious bug fixes will
be included in the second part.

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 (4):
  cmake: properly handle the memprof/process.lua
  memprof: refactor `heap_chunk` data structure
  memprof: introduce the `--human-readable` option
  profilers: print user-friendly errors

 .../gh-5688-tool-cli-flag.test.lua            |  4 +-
 .../gh-5994-memprof-human-readable.test.lua   | 72 +++++++++++++++++
 ...17-profile-parsers-error-handling.test.lua | 79 +++++++++++++++++++
 tools/CMakeLists.txt                          |  2 +
 tools/memprof.lua                             | 68 ++++++++++++----
 tools/memprof/humanize.lua                    | 46 ++++++++---
 tools/memprof/parse.lua                       | 22 ++++--
 tools/sysprof.lua                             | 42 ++++++++--
 tools/sysprof/parse.lua                       |  2 +-
 tools/utils/symtab.lua                        |  2 +-
 10 files changed, 297 insertions(+), 42 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

--
2.43.0



More information about the Tarantool-patches mailing list