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

syz-manager: periodically fetch the heap profile #4983

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-nogikh
Copy link
Collaborator

@a-nogikh a-nogikh commented Jul 3, 2024

If the -heap_profile flag is specified, dump the pprof output into the specified file once in a minute.

If the -heap_profile flag is specified, dump the pprof output into the
specified file once in a minute.
@a-nogikh a-nogikh requested a review from dvyukov July 3, 2024 17:49
flagConfig = flag.String("config", "", "configuration file")
flagDebug = flag.Bool("debug", false, "dump all VM output to console")
flagBench = flag.String("bench", "", "write execution statistics into this file periodically")
flagHeapProfile = flag.String("heap_profile", "", "periodically write pprof heap profile into this file")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we move this either to pkg/tool, or to testbed? manager.go is huge and this is quite generic low-level functionality.

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.

None yet

2 participants