Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit v3 0/7] introuduce platform profiler
@ 2022-04-06 12:49 Maxim Kokryashkin via Tarantool-patches
  2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 1/7] vm: save topframe info into global_State Maxim Kokryashkin via Tarantool-patches
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Maxim Kokryashkin via Tarantool-patches @ 2022-04-06 12:49 UTC (permalink / raw)
  To: tarantool-patches, imun, skaplun

Changes in v3:
- Fixed comments as per review by Sergey
- Rebased onto new master

Maxim Kokryashkin (4):
  memprof: move symtab to a separate module
  memprof: add profile common section
  sysprof: introduce Lua API
  tools: introduce parsers for sysprof

Mikhail Shishatskiy (3):
  vm: save topframe info into global_State
  core: separate the profiling timer from lj_profile
  core: introduce lua and platform profiler

 .gitignore                                    |   1 +
 CMakeLists.txt                                |   6 +
 src/CMakeLists.txt                            |   3 +
 src/Makefile.dep.original                     |  47 +-
 src/lib_misc.c                                | 268 +++++++++-
 src/lj_arch.h                                 |  11 +
 src/lj_errmsg.h                               |   2 +-
 src/lj_mapi.c                                 |  26 +
 src/lj_memprof.c                              |  82 +--
 src/lj_memprof.h                              |  41 --
 src/lj_obj.h                                  |  12 +
 src/lj_profile.c                              | 176 +------
 src/lj_profile_timer.c                        | 133 +++++
 src/lj_profile_timer.h                        |  83 +++
 src/lj_state.c                                |   7 +
 src/lj_symtab.c                               |  84 +++
 src/lj_symtab.h                               |  65 +++
 src/lj_sysprof.c                              | 483 ++++++++++++++++++
 src/lj_sysprof.h                              |  94 ++++
 src/ljamalg.c                                 |   2 +
 src/lmisclib.h                                |  93 ++++
 src/vm_x64.dasc                               |  52 +-
 src/vm_x86.dasc                               |  52 +-
 test/tarantool-tests/CMakeLists.txt           |   1 +
 .../misclib-sysprof-capi.test.lua             |  53 ++
 .../misclib-sysprof-capi/CMakeLists.txt       |   1 +
 .../misclib-sysprof-capi/testsysprof.c        | 269 ++++++++++
 .../misclib-sysprof-lapi.test.lua             | 120 +++++
 tools/CMakeLists.txt                          |  83 +++
 tools/luajit-parse-sysprof.in                 |   6 +
 tools/sysprof.lua                             | 119 +++++
 tools/sysprof/collapse.lua                    | 113 ++++
 tools/sysprof/parse.lua                       | 188 +++++++
 tools/utils/symtab.lua                        |   2 +-
 34 files changed, 2430 insertions(+), 348 deletions(-)
 create mode 100644 src/lj_profile_timer.c
 create mode 100644 src/lj_profile_timer.h
 create mode 100644 src/lj_symtab.c
 create mode 100644 src/lj_symtab.h
 create mode 100644 src/lj_sysprof.c
 create mode 100644 src/lj_sysprof.h
 create mode 100644 test/tarantool-tests/misclib-sysprof-capi.test.lua
 create mode 100644 test/tarantool-tests/misclib-sysprof-capi/CMakeLists.txt
 create mode 100644 test/tarantool-tests/misclib-sysprof-capi/testsysprof.c
 create mode 100644 test/tarantool-tests/misclib-sysprof-lapi.test.lua
 create mode 100644 tools/luajit-parse-sysprof.in
 create mode 100644 tools/sysprof.lua
 create mode 100755 tools/sysprof/collapse.lua
 create mode 100755 tools/sysprof/parse.lua

--
2.35.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-04-07  9:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 12:49 [Tarantool-patches] [PATCH luajit v3 0/7] introuduce platform profiler Maxim Kokryashkin via Tarantool-patches
2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 1/7] vm: save topframe info into global_State Maxim Kokryashkin via Tarantool-patches
2022-04-07  9:47   ` Sergey Kaplun via Tarantool-patches
2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 2/7] core: separate the profiling timer from lj_profile Maxim Kokryashkin via Tarantool-patches
2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 3/7] memprof: move symtab to a separate module Maxim Kokryashkin via Tarantool-patches
2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 4/7] core: introduce lua and platform profiler Maxim Kokryashkin via Tarantool-patches
2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 5/7] memprof: add profile common section Maxim Kokryashkin via Tarantool-patches
2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 6/7] sysprof: introduce Lua API Maxim Kokryashkin via Tarantool-patches
2022-04-06 12:49 ` [Tarantool-patches] [PATCH luajit v3 7/7] tools: introduce parsers for sysprof Maxim Kokryashkin via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox