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

Automate pprof insertion #29

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

seanavery
Copy link
Collaborator

@seanavery seanavery commented Dec 12, 2024

Description

Places pprof routine behind a build tag. Can now make for normal binary then make build-pprof and it will recognize it needs to rebuild via the .build_tags file target.

Tests

Tested pprof command works against module run. go tool pprof -http=":9999" "<machine_ip_address>:6061/debug/pprof/profile?seconds=30"

@seanavery seanavery requested a review from hexbabe December 12, 2024 21:13
Copy link
Collaborator

@hexbabe hexbabe left a comment

Choose a reason for hiding this comment

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

Nice nice

@seanavery seanavery merged commit e892656 into viam-modules:main Dec 13, 2024
4 checks passed
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.

2 participants