Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v2 0/3] Dump lua frames for a fiber traceback
@ 2018-10-10 16:39 Georgy Kirichenko
  2018-10-10 16:39 ` [tarantool-patches] [PATCH 1/3] fiber: do not inline coro unwind function Georgy Kirichenko
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Georgy Kirichenko @ 2018-10-10 16:39 UTC (permalink / raw)
  To: tarantool-patches; +Cc: Georgy Kirichenko

Lua frames are now dumped as well as plain C-frames for a
fiber backtrace. The main patch follows two preparation fixes:
 - enable backtrace for an active coroutine;
 - setup lua state for the main fiber;

Georgy Kirichenko (3):
  fiber: do not inline coro unwind function
  Proper unwind for currently executing fiber
  Show names of Lua functions in backtraces

 src/backtrace.cc        | 27 ++++++++++++-
 src/lua/fiber.c         | 86 +++++++++++++++++++++++++++++++++++------
 test/app/fiber.result   | 33 ++++++++++++++++
 test/app/fiber.test.lua | 12 ++++++
 4 files changed, 146 insertions(+), 12 deletions(-)

-- 
2.19.1

https://github.com/tarantool/tarantool/issues/3538
https://github.com/tarantool/tarantool/compare/g.kirichenko/gh-3538-lua-backtrace

Changes in v2:
 - Rebased against the latest 1.10
 - Segmentation fault fixed

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [tarantool-patches] [PATCH 0/3] Dump lua frames for a fiber traceback
@ 2018-09-21 13:20 Georgy Kirichenko
  2018-09-21 13:20 ` [tarantool-patches] [PATCH 2/3] Proper unwind for currently executing fiber Georgy Kirichenko
  0 siblings, 1 reply; 8+ messages in thread
From: Georgy Kirichenko @ 2018-09-21 13:20 UTC (permalink / raw)
  To: tarantool-patches; +Cc: Georgy Kirichenko

Lua frames are now dumped as well as plain C-frames for a
fiber backtrace. The main patch follows two preparation fixes:
 - enable backtrace for an active coroutine;
 - setup lua state for the main fiber;

Issue: https://github.com/tarantool/tarantool/issues/3538
Branch:
https://github.com/tarantool/tarantool/compare/g.kirichenko/gh-3538-lua-backtrace

Georgy Kirichenko (3):
  Set a lua state for the main fiber too
  Proper unwind for currently executing fiber
  Show names of Lua functions in backtraces

 src/backtrace.cc        |  5 ++-
 src/lua/fiber.c         | 86 +++++++++++++++++++++++++++++++++++------
 src/lua/init.c          |  1 +
 test/app/fiber.result   | 33 ++++++++++++++++
 test/app/fiber.test.lua | 12 ++++++
 5 files changed, 125 insertions(+), 12 deletions(-)

-- 
2.19.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-10-25  9:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-10 16:39 [tarantool-patches] [PATCH v2 0/3] Dump lua frames for a fiber traceback Georgy Kirichenko
2018-10-10 16:39 ` [tarantool-patches] [PATCH 1/3] fiber: do not inline coro unwind function Georgy Kirichenko
2018-10-25  9:28   ` Vladimir Davydov
2018-10-10 16:39 ` [tarantool-patches] [PATCH 2/3] Proper unwind for currently executing fiber Georgy Kirichenko
2018-10-10 16:39 ` [tarantool-patches] [PATCH 3/3] Show names of Lua functions in backtraces Georgy Kirichenko
  -- strict thread matches above, loose matches on Subject: below --
2018-09-21 13:20 [tarantool-patches] [PATCH 0/3] Dump lua frames for a fiber traceback Georgy Kirichenko
2018-09-21 13:20 ` [tarantool-patches] [PATCH 2/3] Proper unwind for currently executing fiber Georgy Kirichenko
2018-09-25 23:34   ` [tarantool-patches] " Konstantin Osipov
2018-09-26  6:57     ` Georgy Kirichenko
2018-09-26 17:36       ` Konstantin Osipov
2018-10-04  7:44         ` [tarantool-patches] " Georgy Kirichenko
2018-10-05 15:09           ` Vladimir Davydov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox