From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>
Cc: Sergey Bronnikov <estetus@gmail.com>,
tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit 6/7] misc: specific message for disabled profilers
Date: Wed, 19 Feb 2025 18:41:43 +0300 [thread overview]
Message-ID: <Z7X7t6ZopjqXsPGk@root> (raw)
In-Reply-To: <73448ddd-5b78-4e89-a45b-0407fca1396f@tarantool.org>
Hi, Sergey!
Thanks for the fixes!
On 19.02.25, Sergey Bronnikov wrote:
> Hi, Sergey,
>
> thanks for review!
>
> On 19.02.2025 11:06, Sergey Kaplun via Tarantool-patches wrote:
<snipped>
> > It's more LuaJIT-way to use something like the following:
> > | if (!LJ_HASSYSPROF) {
> > | /* ... */
> > | }
> >
> > This helps to avoid strange early return.
> Fixed.
> > Also, please be avaired to declare all variables (stataus, opt,
> > err_details) in the beginning of the block.
>
> It is a requirement for the code that strictly follows c89, when you
> must declare all of your variables at the beginning of a scope block.
>
> AFAIK, we have no such requirement, and also there is no option
> "-std=c89" in CI and no any mentions in the contribution guide.
This is not mentioned in Tarantool's contribution guide, since it is
LuaJIT-specific. In the perfect world, it should be checked by the flags
mentioned in <src/Makefile.original> (see the second CWARN).
Unfortunately, there are some bugs that should be fixed first.
<snipped>
--
Best regards,
Sergey Kaplun
next prev parent reply other threads:[~2025-02-19 15:42 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 11:10 [Tarantool-patches] [PATCH luajit 0/7][v2] Fix profilers issues Sergey Bronnikov via Tarantool-patches
2025-02-13 11:10 ` [Tarantool-patches] [PATCH luajit 1/7][v2] test: add descriptions to sysprof testcases Sergey Bronnikov via Tarantool-patches
2025-02-18 11:04 ` Sergey Kaplun via Tarantool-patches
2025-02-13 11:10 ` [Tarantool-patches] [PATCH luajit 2/7] sysprof: align test title with test filename Sergey Bronnikov via Tarantool-patches
2025-02-18 11:10 ` Sergey Kaplun via Tarantool-patches
2025-02-18 14:02 ` Sergey Bronnikov via Tarantool-patches
2025-02-13 11:10 ` [Tarantool-patches] [PATCH luajit 3/7][v2] sysprof: fix typo in the comment Sergey Bronnikov via Tarantool-patches
2025-02-18 11:10 ` Sergey Kaplun via Tarantool-patches
2025-02-13 11:10 ` [Tarantool-patches] [PATCH luajit 4/7][v2] sysprof: introduce specific errors and default mode Sergey Bronnikov via Tarantool-patches
2025-02-18 15:43 ` Sergey Kaplun via Tarantool-patches
2025-02-19 9:34 ` Sergey Bronnikov via Tarantool-patches
2025-02-19 15:20 ` Sergey Kaplun via Tarantool-patches
2025-02-19 16:08 ` Sergey Bronnikov via Tarantool-patches
2025-02-13 11:10 ` [Tarantool-patches] [PATCH luajit 5/7] ci: add workflow with disabled profilers Sergey Bronnikov via Tarantool-patches
2025-02-18 12:10 ` Sergey Kaplun via Tarantool-patches
2025-02-18 14:14 ` Sergey Bronnikov via Tarantool-patches
2025-02-13 11:10 ` [Tarantool-patches] [PATCH luajit 6/7] misc: specific message for " Sergey Bronnikov via Tarantool-patches
2025-02-19 8:06 ` Sergey Kaplun via Tarantool-patches
2025-02-19 12:53 ` Sergey Bronnikov via Tarantool-patches
2025-02-19 15:41 ` Sergey Kaplun via Tarantool-patches [this message]
2025-02-19 15:56 ` Sergey Bronnikov via Tarantool-patches
2025-02-13 11:10 ` [Tarantool-patches] [PATCH luajit 7/7] memprof: set default path to profiling output file Sergey Bronnikov via Tarantool-patches
2025-02-18 11:55 ` Sergey Kaplun via Tarantool-patches
2025-02-18 14:20 ` Sergey Bronnikov via Tarantool-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z7X7t6ZopjqXsPGk@root \
--to=tarantool-patches@dev.tarantool.org \
--cc=estetus@gmail.com \
--cc=sergeyb@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 6/7] misc: specific message for disabled profilers' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox