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 B2E2C6ECE3; Thu, 30 Jun 2022 15:19:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org B2E2C6ECE3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1656591591; bh=QFf+I1TMrfG2/XytFtGp+Mkbn/Bsfp0hhKKMw3nKQL0=; 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=si3BW/ZiWyjEtpwGvXayBh62KMfON0ch3y8ZNphm4oarF13RPQWoYrDmZDal6hBDS pupkIICjozPMDNT9eCRcVY3Z3N/aP4vp4XcearWlhzJ9s6k3D/iU02pU0ziSaLQm4A bX18LxOWTT85H+81++wonLzVQVWU/R/6obOn5dns= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (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 BEC686ECE3 for ; Thu, 30 Jun 2022 15:17:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org BEC686ECE3 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1o6t7G-0000ho-3c; Thu, 30 Jun 2022 15:17:50 +0300 Date: Thu, 30 Jun 2022 15:10:39 +0300 To: Sergey Kaplun Message-ID: References: <20220512100937.24037-1-skaplun@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220512100937.24037-1-skaplun@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9F05DDD76985F9126146A9CA9056EB9C65D59B976056AE7F2182A05F538085040AE222B8668549924CD81776254C06C0A4388A563D1FDFA032AF3E956D90C3C54 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7DB84ED444C624799EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637826327602763C04B8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D831EC87970FDBE7FE2E29321E4D39CCE4117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAA867293B0326636D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8BAA867293B0326636D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B67393CE827C55B5F775ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 9604B64F49C60606AD91A466A1DEF99B296C473AB1E14218C6CDE5D1141D2B1C63EBED25B40ECB4CB48235047DDEF56FCABC0EE2AF9067B2AD91A466A1DEF99B296C473AB1E14218B936CB490224F2464EEA7BD89490CAC0EDDA962BC3F61961 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34FD9114F69CA58D1E582DDFBD7355D0034F54B64E83B8F35A115642C7F431F018D7C785C252758C231D7E09C32AA3244C6B1A775C6EAD1B7070C0B1F7F44F6B59A8CE788DE6831205927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojhvrbUd41KJnb8ptilQ+H6A== X-Mailru-Sender: 689FA8AB762F7393CC2E0F076E87284E7372994DD07380B3FA72C4B26CB3E469A7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit] Flush and close output file after profiling run. 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" Sergey, I've checked the patch into all long-term branches in tarantool/luajit and bumped a new version in master, 2.10 and 1.10. On 12.05.22, Sergey Kaplun wrote: > From: Mike Pall > > Thanks to Sergey Ostanevich. > > Using `jit.p` with a file argument does not flush result to the > file on profile stop. > > This patch adds missing close for the file descriptor on profile stop. > > Sergey Kaplun: > * added the description and the test for the problem > --- > > LuaJIT PR: https://github.com/LuaJIT/LuaJIT/pull/726 > Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-726-profile-flush-close-full-ci > Tarantool PR: https://github.com/tarantool/tarantool/pull/7128 > > src/jit/p.lua | 1 + > .../lj-726-profile-flush-close.test.lua | 29 +++++++++++++++++++ > 2 files changed, 30 insertions(+) > create mode 100644 test/tarantool-tests/lj-726-profile-flush-close.test.lua > > -- > 2.34.1 > -- Best regards, IM