From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp59.i.mail.ru (smtp59.i.mail.ru [217.69.128.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 919334765E0 for ; Mon, 28 Dec 2020 10:11:23 +0300 (MSK) Date: Mon, 28 Dec 2020 10:10:36 +0300 From: Sergey Kaplun Message-ID: <20201228071036.GN14702@root> References: <20201228070431.31068-1-skaplun@tarantool.org> <20201228070942.GS5396@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201228070942.GS5396@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] build: embed LuaJIT memory profiler tools List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Igor, On 28.12.20, Igor Munkin wrote: > Sergey, > > Thanks for the patch! LGTM except a single nit. > > On 28.12.20, Sergey Kaplun wrote: > > This patch embeds a parser for binary data dumped via the memory > > profiler to Tarantool binary. > > > > It is a set of the following Lua modules: > > * utils/bufread.lua: read binary data from a file. > > * utils/symtab.lua: symbol table decode functions > > * memprof/parse.lua: decode the memory profiler event stream > > * memprof/humanize.lua: display decoded data in human readable format > > * memprof.lua: Lua script and module to display data > > > > It launch with the following command: > > $ tarantool -e 'require("memprof")(arg[1])' - filename.bin > > > > Closed #5490 > > Typo: s/Closed/Closes/. Fixed and repushed branch with --force. > > > --- > > > > Issue: https://github.com/tarantool/tarantool/issues/5490 > > Branch: https://github.com/tarantool/tarantool/tree/skaplun/gh-5442-luajit-memory-profiler > > CI: https://gitlab.com/tarantool/tarantool/-/commits/skaplun/gh-5442-luajit-memory-profiler > > > > src/CMakeLists.txt | 6 ++++++ > > src/lua/init.c | 15 ++++++++++++++- > > 2 files changed, 20 insertions(+), 1 deletion(-) > > > > > > > -- > > 2.28.0 > > > > -- > Best regards, > IM -- Best regards, Sergey Kaplun