|
Ran
|
Jobs
1
|
Files
89
|
Run time
10s
|
Badge
README BADGES
|
push
github
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
| 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 |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 6853810395.1 | 89 |
88.27 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|