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 D0751557DB9; Wed, 2 Aug 2023 10:59:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D0751557DB9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1690963196; bh=UP/Le1fLP00qbFs469wM2krefdc3LwudGMZs5oTl80c=; 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=mpw5eKy09kHWqEr1TQeIJI3gpV3uKl1mUKmtdbc6sn54cRwlttQBnhmNsrN2ZaVOq oVLLyNHXZpk0DxFvhSimhfcercOHfqFFazMrGMiLD/GynVpB/v30UxV5z/ezQO7RDp UUK3ZGy72Eky+Fvx6p8L/J/Qtn4xFdU3TqXyZLeQ= Received: from smtp41.i.mail.ru (smtp41.i.mail.ru [95.163.41.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 673DC520C42 for ; Wed, 2 Aug 2023 10:59:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 673DC520C42 Received: by smtp41.i.mail.ru with esmtpa (envelope-from ) id 1qR6lu-00G4vE-2D; Wed, 02 Aug 2023 10:59:55 +0300 Date: Wed, 2 Aug 2023 10:59:54 +0300 To: Igor Munkin Message-ID: <2e5eayfduee7hlxwdd2fthtgg4aibmohyc5ti7hcskpzswkv5y@t5eoedfsqx2n> References: <20230710112400.1802-1-max.kokryashkin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD93761F2630DFFAF4106610A4783CEB24278EC05A2247AC8B7182A05F5380850403909B047E603A98C6781E752FE238BF3881A5903D01C3367C3A3C94FB2ADDEDF X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE728306843C9CFCFEAEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006370BEBC60587DC626C8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D865D9F95F3D0323C6EED9DFA9256A3C3C117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC5FC25ED3FCEC3375A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735204B6963042765DA4B618001F51B5FD3F9D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EEB28585415E75ADA91B780A39BCC1DD35D8FC6C240DEA76429C9F4D5AE37F343AA9539A8B242431040A6AB1C7CE11FEE3AD74539164518AE5302FCEF25BFAB345C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947C78444BBB7636F62A2E808ACE2090B5E1725E5C173C3A84C390D92131081DE748089D37D7C0E48F6C8AA50765F79006377AA2284B41911753EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: 0D63561A33F958A572E57EC5069EE61E4CED76F97D7A438207362B2D0A160375F87CCE6106E1FC07E67D4AC08A07B9B0E3786DD2C77EBDAACB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF10209940C58C4BA0FBB0303C633632D614C3CE87D3215DB65554C92D5F0184A94D6C1B221ADCA6648553022043D0BC9A9AF0BF2666F5E8C3C3C8614E5C9EBE9D461A413F07889F2102C26D483E81D6BE64ACE4A408B72B61B0CA6F94E606A667A52EF62A646584F811BD90D3D42C882D43082AE146A756F3 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojV0vAgLNnFud4SC8UWz9CPQ== X-Mailru-Sender: 7940E2A4EB16C9974CFF14AB62FAC150F7F8FFC0FABC8D638C7F5BCF9955A9D1E2527C969975515CFF9FCECFB8D89CB6C77752E0C033A69E235A20A81F3B0E39AB3C5F247CB2F7F93A5DB60FBEB33A8A0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit v7] memprof: introduce cli flag to run dump parser 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: Maxim Kokryashkin via Tarantool-patches Reply-To: Maxim Kokryashkin Cc: Maksim Kokryashkin , tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hi, Igor! Well, I see no obstacles with flag handling in Tarantool. For instance, the -j flag proxy can do exactly what you want. | review/tarantool/build fckxorg/gh-5688-cli-for-memprof-parse ✔ 239d16h | ▶ ./src/tarantool -j on -e 'print(jit.status())' | true fold cse dce fwd dse narrow loop abc sink fuse | | review/tarantool/build fckxorg/gh-5688-cli-for-memprof-parse ✔ 239d16h | ▶ ./src/tarantool -j off -e 'print(jit.status())' | false fold cse dce fwd dse narrow loop abc sink fuse Tarantool's flag handling is not pleasant to say the least, but we should try to do the same as with -j. Best regards, Maxim Kokryashkin On Wed, Aug 02, 2023 at 07:23:03AM +0000, Igor Munkin wrote: > Max, > > We've discussed with Sergey K. how to run -tm with --leak-only today. > Fortunately, it works fine in LuaJIT, however, I'm afraid such flag > handling in incompatible in Tarantool. Hence, I suggest to glue this > flag with comma to -tm, like jdump does[1]. Thoughts? > > [1]: https://github.com/tarantool/luajit/blob/tarantool/master/src/jit/dump.lua#L18 > > -- > Best regards, > IM