• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 6853810395
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 13 Nov 2023 05:58PM UTC
Jobs 1
Files 89
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Nov 2023 05:48PM UTC coverage: 88.269% (+0.01%) from 88.256%
6853810395

push

github

igormunkin
sysprof: fix crash during FFUNC stream

Sometimes, the Lua stack can be inconsistent during the FFUNC execution,
which may lead to a sysprof crash during the stack unwinding.

This patch replaces the `top_frame` property of `global_State` with
`lj_sysprof_topframe` structure, which contains `top_frame` and `ffid`
properties. `ffid` property makes sense only when the LuaJIT VM state is
set to `FFUNC`. That property is set to the ffid of the fast function
that VM is about to execute.  In the same time, `top_frame` property is
not updated now, so the top frame of the Lua stack can be streamed based
on the ffid, and the rest of the Lua stack can be streamed as usual.

Also, this patch fixes the build via Makefile.original by adding the
`LJ_HASSYSPROF` flag support to it.

Resolves tarantool/tarantool#8594

Reviewed-by: Sergey Kaplun <skaplun@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>
(cherry picked from commit 285a1b0a1)

5329 of 5957 branches covered (0.0%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 1 file covered. (100.0%)

7 existing lines in 3 files now uncovered.

20435 of 23231 relevant lines covered (87.96%)

691552.57 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
99.22
-0.78% src/lj_func.c
2
85.46
-0.32% src/lj_alloc.c
4
72.56
-0.51% src/lj_crecord.c
Jobs
ID Job ID Ran Files Coverage
1 6853810395.1 13 Nov 2023 05:58PM UTC 89
88.27
GitHub Action Run
Source Files on build 6853810395
  • Tree
  • List 89
  • Changed 87
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6853810395
  • 3267e77c on github
  • Prev Build on tarantool/release/2.10 (#6851160794)
  • Next Build on tarantool/release/2.10 (#6854723694)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc