[Tarantool-patches] [PATCH luajit] sysprof: disable proto and trace dumps in default

Igor Munkin imun at tarantool.org
Fri Nov 11 11:54:05 MSK 2022


Max,

I've checked the patch into all required long-term branches in
tarantool/luajit and bumped a new version in master and 2.10.

On 12.06.22, Maxim Kokryashkin wrote:
> There is no need to dump proto or trace information for sysprof
> in the default mode. Moreover, attempts to do so will lead to
> segmentation fault due to uninitialized buffer. This commit
> disables proto and trace dumps in the default mode.
> 
> Resolves tarantool/tarantool#7264
> ---
> PR: https://github.com/tarantool/tarantool/pull/7265
> Branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-7264-dump-proto-default-mode
> 
>  src/lj_sysprof.c                              |  4 +-
>  ...4-add-proto-trace-sysprof-default.test.lua | 58 +++++++++++++++++++
>  2 files changed, 60 insertions(+), 2 deletions(-)
>  create mode 100644 test/tarantool-tests/gh-7264-add-proto-trace-sysprof-default.test.lua
> 

<snipped>

> -- 
> 2.36.1
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list