Skip to content

Cherry-pick upstream LuaJIT interpreter onto Shopify main#43

Draft
dalehamel wants to merge 6 commits into
mainfrom
dale/luajit-upstream-base
Draft

Cherry-pick upstream LuaJIT interpreter onto Shopify main#43
dalehamel wants to merge 6 commits into
mainfrom
dale/luajit-upstream-base

Conversation

@dalehamel
Copy link
Copy Markdown
Member

Summary

Cherry-picks the upstream LuaJIT interpreter support from open-telemetry/opentelemetry-ebpf-profiler onto our Shopify fork's main.

Upstream commits included:

This branch serves as the base for PR #42 (dale/luajit-unwinder), which contains our Shopify-specific hardening (map pressure fixes, verifier budget tuning, diagnostics).

Review

This is pure upstream code — the diff should match what's already merged in the upstream repo. Our modifications are in PR #42.

renovate Bot and others added 6 commits April 21, 2026 18:05
…igest to 5939a84 (open-telemetry#1363)

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Lehner <florian.lehner@elastic.co>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Lehner <florian.lehner@elastic.co>
This PR contains an interpreter for LuaJIT code, which is primarily
useful in practice due to OpenResty. It has been used in Parca/Polar
Signals since Nov. 2024.

A thorough explanation of the approach used as well as an introduction
to Lua internals can be found at the accompanying blog post:
https://www.polarsignals.com/blog/posts/2024/11/13/lua-unwinding .
@github-actions
Copy link
Copy Markdown

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions Bot added the Stale label May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants