MCPcopy Create free account
hub / github.com/google/pprof / Options

Struct Options

internal/report/report.go:56–85  ·  view source on GitHub ↗

Options are the formatting and filtering options used to generate a profile.

Source from the content-addressed store, hash-verified

54// Options are the formatting and filtering options used to generate a
55// profile.
56type Options struct {
57 OutputFormat int
58
59 CumSort bool
60 CallTree bool
61 DropNegative bool
62 CompactLabels bool
63 Ratio float64
64 Title string
65 ProfileLabels []string
66 ActiveFilters []string
67 NumLabelUnits map[string]string
68
69 NodeCount int
70 NodeFraction float64
71 EdgeFraction float64
72
73 SampleValue func(s []int64) int64
74 SampleMeanDivisor func(s []int64) int64
75 SampleType string
76 SampleUnit string // Unit for the sample data from the profile.
77
78 OutputUnit string // Units for data formatting in report.
79
80 Symbol *regexp.Regexp // Symbols to include on disassembly report.
81 SourcePath string // Search path for source files.
82 TrimPath string // Paths to trim from source file paths.
83
84 IntelSyntax bool // Whether or not to print assembly in Intel syntax.
85}
86
87// Generate generates a report as directed by the Report.
88func Generate(w io.Writer, rpt *Report, obj plugin.ObjTool) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected