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

agent: avoid truncating stack trace if it's bigger than 64kb #29

Merged
merged 1 commit into from
Jan 13, 2017

Conversation

cezarsa
Copy link
Contributor

@cezarsa cezarsa commented Jan 10, 2017

Using pprof.Lookup("goroutine") instead of runtime.Stack directly because the former already takes care of expanding the buffer used with runtime.Stack until it's big enough for the stack.

Using pprof.Lookup("goroutine") instead of runtime.Stack directly
because the former already takes care of expanding the buffer used with
runtime.Stack until it's big enough for the stack.
@rakyll rakyll merged commit ad978d7 into google:master Jan 13, 2017
@rakyll
Copy link
Member

rakyll commented Jan 13, 2017

Thanks!

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