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

reporter: minor cleanup and #256

Closed
wants to merge 2 commits into from
Closed

reporter: minor cleanup and #256

wants to merge 2 commits into from

Conversation

florianl
Copy link
Contributor

Improve code maintainability by using types for specific helper maps and fix a caching issue for frames, similar to #247 for executables.

@florianl florianl requested review from a team as code owners November 27, 2024 10:06
@rockdaboot
Copy link
Contributor

Just for reference: #248

type funcMap map[funcInfo]uint64

// fileIDMap is a temporary cache that maps deduplicated file IDs to a index.
type fileIDMap map[libpf.FileID]uint64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These mean the reporter can't handle concurrent exports.

dmathieu added a commit to dmathieu/opentelemetry-ebpf-profiler that referenced this pull request Nov 29, 2024
@florianl florianl closed this Dec 2, 2024
@florianl florianl deleted the reporter-maps branch December 9, 2024 14:12
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.

3 participants