From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 0F9F56F873; Fri, 28 Jan 2022 02:31:09 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0F9F56F873 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1643326269; bh=jysIj+T9ubhQW1s6E5ykb2LutbJpexjxfAk79prIDG4=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=AnnML28nx7mXMMOa/PS57rU9oRBKO04r9JP+JXV0rwW/6veKHWWQKvSBCnwqmJxiN JjMh0SsWIxsUbi8xbkLVN14GCmS2GWbSdb4aId7lVdXKxtoEzG5JYR5gNmgYFlXTds TQleTjbSet4jcl7PllNnZKI3PNHE1dvfEhA5WJ5Q= Received: from smtpng3.i.mail.ru (smtpng3.i.mail.ru [94.100.177.149]) (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 CF1F86F873 for ; Fri, 28 Jan 2022 02:31:07 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org CF1F86F873 Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1nDEEM-0001oX-Tz; Fri, 28 Jan 2022 02:31:07 +0300 Date: Fri, 28 Jan 2022 02:29:42 +0300 To: Mikhail Shishatskiy Message-ID: References: <20210820070546.115293-1-m.shishatskiy@tarantool.org> <20210929200758.149446-1-m.shishatskiy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210929200758.149446-1-m.shishatskiy@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9AA78FDF62ECAE61F7A922168D8AD45D749A6A71140E6560E182A05F538085040DE5064A81D357EFF35C75E4DB5D4B119E6C23BB17520841B68B90644F225456D X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE70043D879A87EF1BCEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006378D70459436292EC88638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8837FC594D4CC2413DC0FC06766FB2D34117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCF1175FABE1C0F9B6A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18F04B652EEC242312D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6F7FD1A3A8AE6177F089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-B7AD71C0: BCAA75B3C340DBBEEF3A853C90EA8D50F01536074D6990B7EE9D5CB6078CC77CBE09E9A20014B34271B50B874F048A7C X-C1DE0DAB: 0D63561A33F958A5F11D7EFC98DEB11E756DEFF76F0A599A725A4AAAC3D249C8D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75438CC92D4039F4E2410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D349C39CCCDAABCB54B71EC34B47057A771ABF9BAFEC2EEE47F20661468E01AE9300EA79CA2FFDC05B01D7E09C32AA3244CFC4BBED05894DAC4F71086D35AC240A78580396430872480927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojqLK0kLh8sGeGSZ5QWsH6fw== X-Mailru-Sender: 689FA8AB762F739339CABD9B3CA9A7D63822A9FB57DC9DDF3EC8F62B99389B94A7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit v4 0/4] memprof: group allocations on traces by traceno X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Misha, Thanks for the series! I totally forgot: I've checked the patch into tarantool branch in tarantool/luajit and bumped a new version in master. On 29.09.21, Mikhail Shishatskiy wrote: > New patch series v4 with fixes as per review by Igor Munkin: > > Changes in v4: > * refactored the modules in order not to violate MVC: now > process module uses the symtab.id(loc) as a key (but not the > fully demangled name) > * reorganized patches: now the first important patch has the > location dumping and simple parsing without the trace start > info; the second patch adds the information about the trace's > start and extends the symtab. > > @ChangeLog > ====================================================================== > ##feature/luajit > > * Now memory profiler records allocations from traces. The memory > profiler parser can display new type of allocation sources in > the following format: > ``` > | TRACE [] started at @: > ``` > ====================================================================== > > Mikhail Shishatskiy (4): > test: separate memprof Lua API tests into subtests > memprof: refactor location parsing > memprof: group allocations on traces by traceno > memprof: add info about trace start to symtab > > src/Makefile.dep.original | 3 +- > src/lj_memprof.c | 79 +++++- > src/lj_memprof.h | 22 +- > .../misclib-memprof-lapi.test.lua | 261 ++++++++++++------ > tools/memprof.lua | 4 +- > tools/memprof/humanize.lua | 30 +- > tools/memprof/parse.lua | 39 +-- > tools/memprof/process.lua | 9 +- > tools/utils/symtab.lua | 49 +++- > 9 files changed, 364 insertions(+), 132 deletions(-) > > > -- > 2.33.0 > -- Best regards, IM