-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Introduce instruction_addr_adjustment
Stack Trace Attribute
#43
Conversation
I though the deduplication actually happens on the server side. Either way though it sounds like profiling probably wants to do the heuristic manually. That said I wonder if the new adjustment is a question for the ingestion protocol and symbolicator or if in symbolicator this should be handled separately. I am wondering if form the perspective of the symbolicator interface it wouldn't make more sense to add a |
I think it depends on the SDK. It does deduplication in Rust at least: IMO, if we decide to make this a per-frame attribute, I would rather just put a Ideally the SDK should always send unadjusted (original) |
Just to be clear I would only make it a per-frame attribute on the symbolication side (sentry -> symbolicator). |
After a discussion with the profiling team, we came to the following conclusion:
|
Another thing I just noticed: We are only doing the adjustment for absolute addresses, and NOT for relative addressing mode (aka WASM). |
Implements handling of `instruction_addr_adjustment` and attaching appropriate per-frame attributes when sending stack traces to symbolicator. It implements the Sentry and Profiling side of [RFC 43](getsentry/rfcs#43)
This attribute is specified in [RFC 43](getsentry/rfcs#43).
@bitsandfoxes we had a look at most of the events you sent us, they look consistent across unity versions on one platform, but different across platforms. Here is what we found out:
It would be nice to have one example of a Windows event / binary as well to take a look at the reported address in relation to the disassembly. Then we know which adjustment mode the SDK should report. |
This attribute is specified in [RFC 43](getsentry/rfcs#43).
Implements handling of `instruction_addr_adjustment` and attaching appropriate per-frame attributes (`adjust_instruction_addr`) when sending stack traces to symbolicator. It implements the Sentry and Profiling side of [RFC 43](getsentry/rfcs#43) The Symbolicator side is implemented in getsentry/symbolicator#948. --------- Co-authored-by: Sebastian Zivota <[email protected]>
Implements handling of `instruction_addr_adjustment` and attaching appropriate per-frame attributes (`adjust_instruction_addr`) when sending stack traces to symbolicator. It implements the Sentry and Profiling side of [RFC 43](getsentry/rfcs#43) The Symbolicator side is implemented in getsentry/symbolicator#948. --------- Co-authored-by: Sebastian Zivota <[email protected]>
Implements handling of `instruction_addr_adjustment` and attaching appropriate per-frame attributes (`adjust_instruction_addr`) when sending stack traces to symbolicator. It implements the Sentry and Profiling side of [RFC 43](getsentry/rfcs#43) The Symbolicator side is implemented in getsentry/symbolicator#948. --------- Co-authored-by: Sebastian Zivota <[email protected]>
This RFC introduces a new StackTrace Protocol field that controls adjustment of
the
instruction_addr
for symbolication.Rendered RFC