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

Golang #101

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

MatthewKhouzam
Copy link
Contributor

This patchset adds golang trace support to Trace Compass

https://go.dev/blog/execution-traces-2024 <- The trace format and its events were designed around relatively efficient emission, but required tooling to parse and keep around the state of the entirety of a trace. A few hundred MiB trace could require several GiB of RAM to analyze!

This is not the case with the trace compass golang parser. It seems to scale linearly with the trace size. But this is not ready for primetime yet.

In GolangTrace there's a datastructure called "fAwfulBackup" that stores ecery event in ram. It needs to go away before we merge the code.

This allows to audit transactions and ensure that traces artifacts
are cleaned.

Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: Iebc84073250ef568bf36b7bf5ba29701343f755d
Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: I05dbd2b12a779efb98b0ae976254abd46c2d4911
TODO:
* clean up debt
* test more
* Add heap analysis
* Add callsite analysis
* Add callstack analysis
* Add Object Life Analysis

Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: I0dcd991c9cef862de990901486a4ccbe6d3fc814
Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: I00af9097710c675a532653a785c73ef2d64b2c70
Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: Iabb664c94c8b7f5991031f6ef64d733f6eb9af58
Has memory usage...

Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: I9b6161b1db8c3142571611a0f28351afc384e74a
Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: Iae1533332f04ba289f0a9c7246363ac687331760
@MatthewKhouzam MatthewKhouzam marked this pull request as draft October 24, 2024 20:47
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.

1 participant