Closed Bug 717233 Opened 14 years ago Closed 7 years ago

Native methods do not create a MethodFrame entry, and thus aren't visible to a telemetry-based MF-stack-sampler

Categories

(Tamarin Graveyard :: Profiler, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Q2 12 - Cyril

People

(Reporter: edwsmith, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Telemetry needs to take periodic stack samples by stack-walking MethodFrames. Existing native stubs do not generate and link a MethodFrame instance, so those calls are invisible.
Patch includes all the code needed for the new sampler implementation in the VM. Note that this sampler relies on a telemetry implementation (using the ITelemetry interface). All the relevant code is wrapped in the VMCFG_TELEMETRY_SAMPLER flag, which is controlled by AVMFEATURE_TELEMETRY_SAMPLER. The main sampler class is in the existing Sampler.cpp/.h files, in hopes that eventually it can just replace the existing sampler.
Attachment #594339 - Flags: superreview?(edwsmith)
Attachment #594339 - Flags: review?(ruchi.lohani)
Attachment #594339 - Flags: review?(ruchi.lohani) → review?(rulohani)
The attachment is for bug 724139 but also includes the fix for this bug as part of larger changes.
Updated patch to only include changes needed for this bug. This change is also part of the larger changes for bug 724139.
Attachment #594339 - Attachment is obsolete: true
Attachment #594339 - Flags: superreview?(edwsmith)
Attachment #594339 - Flags: review?(rulohani)
Attachment #596745 - Flags: superreview?(edwsmith)
Attachment #596745 - Flags: review?(rulohani)
Comment on attachment 596745 [details] [diff] [review] Native gen script changes Removing myself from review since this patch has been reviewed in another bug.
Attachment #596745 - Flags: review?(rulohani)
Comment on attachment 596745 [details] [diff] [review] Native gen script changes Dropping SR? since patch is obsolete
Attachment #596745 - Flags: superreview?(edwsmith)
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: