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 5 commits into
base: main
Choose a base branch
from
Draft

luajit stack unwinder #2784

wants to merge 5 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 10 times, most recently from 7e07e49 to 86f6814 Compare May 21, 2024 23:36
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