test pprof headers and profile methods

tidy up, add comments

clean up seconds param assignment
This commit is contained in:
Drew Bailey
2019-12-11 14:58:41 -05:00
parent c28e5ad036
commit 57dc0c6a46
7 changed files with 243 additions and 32 deletions

View File

@@ -85,6 +85,8 @@ type AgentPprofResponse struct {
// Payload is the generated pprof profile
Payload []byte
HTTPHeaders map[string]string
}
// AllocFileInfo holds information about a file inside the AllocDir