Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit v2 0/3] memprof: enrich symtab when meeting new prototype
@ 2021-12-02 11:03 Mikhail Shishatskiy via Tarantool-patches
  2021-12-02 11:03 ` [Tarantool-patches] [PATCH luajit v2 1/3] memprof: add symbol epochs Mikhail Shishatskiy via Tarantool-patches
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Mikhail Shishatskiy via Tarantool-patches @ 2021-12-02 11:03 UTC (permalink / raw)
  To: tarantool-patches, imun, skaplun

Patchset v2 with some adjustments based on previous patch series,
and several fixes with improvements:

- Removed "change order of modules patch";
- Changed order of patches so that patch with symtab enriching
  works correctly straingt away, and not after applying "on the spot
  demangling" patch;
- Changed flag representing that object has been dumped to an epoch
  counter to respect consequent memprof launches.

Issue: https://github.com/tarantool/tarantool/issues/5815
Branch: https://github.com/tarantool/luajit/tree/shishqa/gh-5815-enrich-symtab-when-prototype-is-allocated-v2
Tarantool branch: https://github.com/tarantool/tarantool/tree/shishqa/gh-5815-enrich-symtab-when-prototype-is-allocated

Mikhail Shishatskiy (3):
  memprof: add symbol epochs
  memprof: enrich symtab when meeting new prototype
  memprof: substitute long proto names with aliases

 src/lj_bcread.c                               |  3 +
 src/lj_memprof.c                              | 35 +++++++---
 src/lj_memprof.h                              | 13 +++-
 src/lj_obj.h                                  | 10 +++
 src/lj_parse.c                                |  3 +
 src/lj_state.c                                |  3 +
 .../misclib-memprof-lapi.test.lua             | 55 ++++++++++++---
 tools/memprof.lua                             |  1 +
 tools/memprof/humanize.lua                    | 14 ++++
 tools/memprof/parse.lua                       | 51 ++++++++------
 tools/utils/symtab.lua                        | 68 ++++++++++++++-----
 11 files changed, 196 insertions(+), 60 deletions(-)

-- 
2.33.1


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

end of thread, other threads:[~2022-04-12 14:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02 11:03 [Tarantool-patches] [PATCH luajit v2 0/3] memprof: enrich symtab when meeting new prototype Mikhail Shishatskiy via Tarantool-patches
2021-12-02 11:03 ` [Tarantool-patches] [PATCH luajit v2 1/3] memprof: add symbol epochs Mikhail Shishatskiy via Tarantool-patches
2022-03-15  7:56   ` Sergey Kaplun via Tarantool-patches
2021-12-02 11:03 ` [Tarantool-patches] [PATCH luajit v2 2/3] memprof: enrich symtab when meeting new prototype Mikhail Shishatskiy via Tarantool-patches
2022-01-19 16:56   ` Mikhail Shishatskiy via Tarantool-patches
2022-01-25  8:14     ` Sergey Kaplun via Tarantool-patches
2021-12-02 11:03 ` [Tarantool-patches] [PATCH luajit v2 3/3] memprof: substitute long proto names with aliases Mikhail Shishatskiy via Tarantool-patches
2022-01-25 10:12   ` Sergey Kaplun via Tarantool-patches
2022-04-12 14:30 ` [Tarantool-patches] [PATCH luajit v2 0/3] memprof: enrich symtab when meeting new prototype Igor Munkin 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