Tarantool development patches archive
 help / color / mirror / Atom feed
From: Igor Munkin via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Maxim Kokryashkin <max.kokryashkin@gmail.com>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit v6 0/2] memprof: C-symbols resolving
Date: Fri, 22 Apr 2022 16:22:54 +0300	[thread overview]
Message-ID: <YmKsLry260VHOVmL@tarantool.org> (raw)
In-Reply-To: <cover.1647972832.git.m.kokryashkin@tarantool.org>

Max,

Thanks for the series! Since release is urgently coming, I've rebase
your series on the current state of tarantool branch by myself. On this
way I've also fixed all issues I've found. Here is kinda full list of
the changes made by me:
* Introduced generations for C symbols.
* Fixed build related issues, since we need to support old CMake
  versions (<target_link_options> is provided only since CMake 3.13).
* Disabled resolver for BSD, since lj_memprof.c fails to build on it.
* Fixed some style issues (C99 for loop declarations, misindent, etc).

All in all, the changeset LGTM, so I've checked the patchset into
tarantool branch in tarantool/luajit and bumped a new version in master.

P.S. I guess we need to throw all our efforts for on intergrational
testing, since I'm sicked of all that PR+ML cocktail leading to the
green CI in tarantool/luajit and the red on in tarantool/tarantool when
bumping LuaJIT submodule.

On 22.03.22, Maxim Kokryashkin wrote:
> Changes in v6:
> - Fixed comments as per review by Sergey
> - Added tests for newly loaded symbols resolution
> 
> ---

<snipped>

> Maxim Kokryashkin (2):
>   memprof: extend symtab with C-symbols
>   memprof: enrich symtab with newly loaded symbols
> 
>  Makefile.original                             |   2 +-
>  src/lj_memprof.c                              | 407 +++++++++++++++++-
>  src/lj_memprof.h                              |  15 +-
>  test/tarantool-tests/CMakeLists.txt           |   1 +
>  .../gh-5813-resolving-of-c-symbols.test.lua   |  60 +++
>  .../CMakeLists.txt                            |   2 +
>  .../testresolving.c                           |  19 +
>  test/tarantool-tests/tools-utils-avl.test.lua |  54 +++
>  tools/CMakeLists.txt                          |   2 +
>  tools/memprof.lua                             |   5 +
>  tools/memprof/parse.lua                       |  19 +
>  tools/utils/avl.lua                           | 114 +++++
>  tools/utils/symtab.lua                        |  27 +-
>  13 files changed, 715 insertions(+), 12 deletions(-)
>  create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols.test.lua
>  create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/CMakeLists.txt
>  create mode 100644 test/tarantool-tests/gh-5813-resolving-of-c-symbols/testresolving.c
>  create mode 100644 test/tarantool-tests/tools-utils-avl.test.lua
>  create mode 100644 tools/utils/avl.lua
> 
> --
> 2.35.1
> 

-- 
Best regards,
IM

      parent reply	other threads:[~2022-04-22 13:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22 18:31 Maxim Kokryashkin via Tarantool-patches
2022-03-22 18:31 ` [Tarantool-patches] [PATCH luajit v6 1/2] memprof: extend symtab with C-symbols Maxim Kokryashkin via Tarantool-patches
2022-04-04  8:43   ` Sergey Kaplun via Tarantool-patches
2022-04-04 11:34     ` Sergey Kaplun via Tarantool-patches
2022-03-22 18:31 ` [Tarantool-patches] [PATCH luajit v6 2/2] memprof: enrich symtab with newly loaded symbols Maxim Kokryashkin via Tarantool-patches
2022-04-04  8:44   ` Sergey Kaplun via Tarantool-patches
2022-04-04  8:45 ` [Tarantool-patches] [PATCH luajit v6 0/2] memprof: C-symbols resolving Sergey Kaplun via Tarantool-patches
2022-04-22 13:22 ` Igor Munkin via Tarantool-patches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YmKsLry260VHOVmL@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=imun@tarantool.org \
    --cc=max.kokryashkin@gmail.com \
    --subject='Re: [Tarantool-patches] [PATCH luajit v6 0/2] memprof: C-symbols resolving' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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