[Tarantool-patches] [PATCH luajit] Flush and close output file after profiling run.

Igor Munkin imun at tarantool.org
Thu Jun 30 15:10:39 MSK 2022


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 <mike>
> 
> 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
> 

<snipped>

> -- 
> 2.34.1
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list