Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luajit stack unwinder #2784

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

luajit stack unwinder #2784

wants to merge 10 commits into from

Conversation

gnurizen
Copy link
Contributor

No description provided.

@gnurizen gnurizen force-pushed the lua-proto branch 3 times, most recently from e5be82d to 092587d Compare May 15, 2024 14:14
@gnurizen gnurizen changed the title lua wip luajit stack unwinder May 15, 2024
@gnurizen gnurizen force-pushed the lua-proto branch 12 times, most recently from ca8be6e to eeec130 Compare May 22, 2024 15:09
@gnurizen gnurizen force-pushed the lua-proto branch 2 times, most recently from 8835ff9 to 3394331 Compare June 6, 2024 15:58
gnurizen and others added 10 commits June 6, 2024 15:53
generate them in the unwinder with more context.
Works with openresty and luajit with caveats. lua_State is looked up via
uprobes on lua_pcall and lua_resume.  If uprobes aren't enabled an
attempt will be made to look up lua_State via nginx_lua_co_ctx object
which seems to work well for openresty but isn't well tested.

Fixes: parca-dev#1889
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant