SYMBOL INDEX (1120 symbols across 89 files) FILE: browsertests/browser_test.go function maybeSkipBrowserTest (line 32) | func maybeSkipBrowserTest(t *testing.T) { function TestTopTable (line 50) | func TestTopTable(t *testing.T) { function TestFlameGraph (line 74) | func TestFlameGraph(t *testing.T) { function TestSource (line 95) | func TestSource(t *testing.T) { function newContext (line 114) | func newContext(ctx context.Context, t *testing.T) context.Context { function matchRegexp (line 138) | func matchRegexp(t *testing.T, query, re string) chromedp.ActionFunc { function matchInOrder (line 160) | func matchInOrder(t *testing.T, query string, sequence ...string) chrome... function eval (line 183) | func eval(t *testing.T, js string) chromedp.ActionFunc { FILE: browsertests/testdata/testfixture.js class TestFixture (line 4) | class TestFixture { method constructor (line 5) | constructor() { method run (line 10) | run(name, subtest) { method setContext (line 19) | setContext(name, ...args) { method log (line 23) | log(...args) { method err (line 27) | err(...args) { FILE: browsertests/testdata/testflame.js function TestFlame (line 1) | function TestFlame() { FILE: browsertests/testutils.go function makeTestServer (line 17) | func makeTestServer(t testing.TB, prof *profile.Profile) *httptest.Server { constant addrBase (line 62) | addrBase = 0x1000 constant fakeSource (line 63) | fakeSource = "testdata/file1000.src" type fakeObj (line 65) | type fakeObj struct method Close (line 67) | func (f fakeObj) Close() error { return nil } method Name (line 68) | func (f fakeObj) Name() string { return "testbi... method ObjAddr (line 69) | func (f fakeObj) ObjAddr(addr uint64) (uint64, error) { return addr, n... method BuildID (line 70) | func (f fakeObj) BuildID() string { return "" } method SourceLine (line 71) | func (f fakeObj) SourceLine(addr uint64) ([]driver.Frame, error) { method Symbols (line 74) | func (f fakeObj) Symbols(r *regexp.Regexp, addr uint64) ([]*driver.Sym... type fakeObjTool (line 91) | type fakeObjTool struct method Open (line 93) | func (obj fakeObjTool) Open(file string, start, limit, offset uint64, ... method Disasm (line 97) | func (obj fakeObjTool) Disasm(file string, start, end uint64, intelSyn... function makeFakeProfile (line 105) | func makeFakeProfile() *profile.Profile { type testFlags (line 161) | type testFlags method Bool (line 163) | func (flags testFlags) Bool(name string, def bool, usage string) *bool { method Int (line 166) | func (flags testFlags) Int(name string, def int, usage string) *int { method Float64 (line 169) | func (flags testFlags) Float64(name string, def float64, usage string)... method String (line 172) | func (flags testFlags) String(name string, def string, usage string) *... method StringList (line 175) | func (flags testFlags) StringList(name string, def string, usage strin... method ExtraUsage (line 178) | func (flags testFlags) ExtraUsage() string { return "" } method AddExtraUsage (line 179) | func (flags testFlags) AddExtraUsage(eu string) {} method Parse (line 180) | func (flags testFlags) Parse(usage func()) []string { return []string{... function getFlag (line 184) | func getFlag[T any](flags testFlags, name string, def T) *T { type testUI (line 192) | type testUI struct method ReadLine (line 196) | func (ui testUI) ReadLine(_ string) (string, error) { return "", i... method IsTerminal (line 197) | func (ui testUI) IsTerminal() bool { return false } method WantBrowser (line 198) | func (ui testUI) WantBrowser() bool { return false } method SetAutoComplete (line 199) | func (ui testUI) SetAutoComplete(_ func(string) string) {} method Print (line 200) | func (ui testUI) Print(args ...interface{}) {} method PrintErr (line 201) | func (ui testUI) PrintErr(args ...interface{}) { type testFetcher (line 207) | type testFetcher struct method Fetch (line 211) | func (f testFetcher) Fetch(source string, duration, timeout time.Durat... FILE: driver/driver.go function PProf (line 33) | func PProf(o *Options) error { type HTTPServerArgs (line 66) | type HTTPServerArgs type Options (line 69) | type Options struct method internalOptions (line 37) | func (o *Options) internalOptions() *plugin.Options { type Writer (line 82) | type Writer interface type FlagSet (line 88) | type FlagSet interface type Fetcher (line 121) | type Fetcher interface type Symbolizer (line 126) | type Symbolizer interface type MappingSources (line 132) | type MappingSources type ObjTool (line 138) | type ObjTool interface type Inst (line 152) | type Inst struct type ObjFile (line 161) | type ObjFile interface type Frame (line 189) | type Frame struct type Sym (line 198) | type Sym struct type UI (line 206) | type UI interface type internalObjTool (line 236) | type internalObjTool struct method Open (line 240) | func (o *internalObjTool) Open(file string, start, limit, offset uint6... method Disasm (line 277) | func (o *internalObjTool) Disasm(file string, start, end uint64, intel... type internalObjFile (line 248) | type internalObjFile struct method SourceLine (line 252) | func (f *internalObjFile) SourceLine(frame uint64) ([]plugin.Frame, er... method Symbols (line 264) | func (f *internalObjFile) Symbols(r *regexp.Regexp, addr uint64) ([]*p... type internalSymbolizer (line 291) | type internalSymbolizer struct method Symbolize (line 295) | func (s *internalSymbolizer) Symbolize(mode string, srcs plugin.Mappin... FILE: fuzz/fuzz_test.go function TestParseData (line 25) | func TestParseData(t *testing.T) { FILE: fuzz/main.go function Fuzz (line 24) | func Fuzz(data []byte) int { FILE: internal/binutils/addr2liner.go constant defaultAddr2line (line 30) | defaultAddr2line = "addr2line" constant sentinel (line 34) | sentinel = ^uint64(0) type addr2Liner (line 39) | type addr2Liner struct method readFrame (line 125) | func (d *addr2Liner) readFrame() (plugin.Frame, bool) { method rawAddrInfo (line 173) | func (d *addr2Liner) rawAddrInfo(addr uint64) ([]plugin.Frame, error) { method addrInfo (line 210) | func (d *addr2Liner) addrInfo(addr uint64) ([]plugin.Frame, error) { type lineReaderWriter (line 55) | type lineReaderWriter interface type addr2LinerJob (line 61) | type addr2LinerJob struct method write (line 67) | func (a *addr2LinerJob) write(s string) error { method readLine (line 72) | func (a *addr2LinerJob) readLine() (string, error) { method close (line 81) | func (a *addr2LinerJob) close() { function newAddr2Liner (line 90) | func newAddr2Liner(cmd, file string, base uint64) (*addr2Liner, error) { FILE: internal/binutils/addr2liner_llvm.go constant defaultLLVMSymbolizer (line 31) | defaultLLVMSymbolizer = "llvm-symbolizer" type llvmSymbolizer (line 36) | type llvmSymbolizer struct method readDataFrames (line 115) | func (d *llvmSymbolizer) readDataFrames() ([]plugin.Frame, error) { method readCodeFrames (line 145) | func (d *llvmSymbolizer) readCodeFrames() ([]plugin.Frame, error) { method addrInfo (line 173) | func (d *llvmSymbolizer) addrInfo(addr uint64) ([]plugin.Frame, error) { type llvmSymbolizerJob (line 44) | type llvmSymbolizerJob struct method write (line 52) | func (a *llvmSymbolizerJob) write(s string) error { method readLine (line 57) | func (a *llvmSymbolizerJob) readLine() (string, error) { method close (line 66) | func (a *llvmSymbolizerJob) close() { function newLLVMSymbolizer (line 75) | func newLLVMSymbolizer(cmd, file string, base uint64, isData bool) (*llv... FILE: internal/binutils/addr2liner_nm.go constant defaultNM (line 29) | defaultNM = "nm" type addr2LinerNM (line 34) | type addr2LinerNM struct method addrInfo (line 117) | func (a *addr2LinerNM) addrInfo(addr uint64) ([]plugin.Frame, error) { type symbolInfo (line 38) | type symbolInfo struct method isData (line 46) | func (s *symbolInfo) isData() bool { function newAddr2LinerNM (line 62) | func newAddr2LinerNM(cmd, file string, base uint64) (*addr2LinerNM, erro... function parseAddr2LinerNM (line 75) | func parseAddr2LinerNM(base uint64, nm io.Reader) (*addr2LinerNM, error) { FILE: internal/binutils/binutils.go type Binutils (line 40) | type Binutils struct method get (line 72) | func (bu *Binutils) get() *binrep { method update (line 85) | func (bu *Binutils) update(fn func(r *binrep)) { method String (line 99) | func (bu *Binutils) String() string { method SetFastSymbolization (line 121) | func (bu *Binutils) SetFastSymbolization(fast bool) { method SetTools (line 130) | func (bu *Binutils) SetTools(config string) { method Disasm (line 259) | func (bu *Binutils) Disasm(file string, start, end uint64, intelSyntax... method Open (line 287) | func (bu *Binutils) Open(name string, start, limit, offset uint64, rel... type binrep (line 54) | type binrep struct method openMachOCommon (line 358) | func (b *binrep) openMachOCommon(name string, of *macho.File, start, l... method openFatMachO (line 381) | func (b *binrep) openFatMachO(name string, start, limit, offset uint64... method openMachO (line 418) | func (b *binrep) openMachO(name string, start, limit, offset uint64) (... method openELF (line 428) | func (b *binrep) openELF(name string, start, limit, offset uint64, rel... method openPE (line 498) | func (b *binrep) openPE(name string, start, limit, offset uint64) (plu... function initTools (line 134) | func initTools(b *binrep, config string) { function findObjdump (line 163) | func findObjdump(paths []string) (string, bool, bool) { function chooseExe (line 194) | func chooseExe(names, osxNames []string, paths []string) (string, bool) { function isLLVMObjdump (line 209) | func isLLVMObjdump(output string) bool { function isBuObjdump (line 241) | func isBuObjdump(output string) bool { function findExe (line 247) | func findExe(cmd string, paths []string) (string, bool) { type elfMapping (line 527) | type elfMapping struct method findProgramHeader (line 537) | func (m *elfMapping) findProgramHeader(ef *elf.File, addr uint64) (*el... type file (line 576) | type file struct method computeBase (line 592) | func (f *file) computeBase(addr uint64) error { method Name (line 619) | func (f *file) Name() string { method ObjAddr (line 623) | func (f *file) ObjAddr(addr uint64) (uint64, error) { method BuildID (line 631) | func (f *file) BuildID() string { method SourceLine (line 635) | func (f *file) SourceLine(addr uint64) ([]plugin.Frame, error) { method Close (line 643) | func (f *file) Close() error { method Symbols (line 647) | func (f *file) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym, ... type fileNM (line 661) | type fileNM struct method SourceLine (line 666) | func (f *fileNM) SourceLine(addr uint64) ([]plugin.Frame, error) { type fileAddr2Line (line 685) | type fileAddr2Line struct method SourceLine (line 693) | func (f *fileAddr2Line) SourceLine(addr uint64) ([]plugin.Frame, error) { method init (line 708) | func (f *fileAddr2Line) init() { method Close (line 726) | func (f *fileAddr2Line) Close() error { FILE: internal/binutils/binutils_test.go function functionName (line 41) | func functionName(level int) (name string) { function TestAddr2Liner (line 48) | func TestAddr2Liner(t *testing.T) { type mockAddr2liner (line 80) | type mockAddr2liner struct method write (line 84) | func (a *mockAddr2liner) write(s string) error { method readLine (line 113) | func (a *mockAddr2liner) readLine() (string, error) { method close (line 122) | func (a *mockAddr2liner) close() { function TestAddr2LinerLookup (line 125) | func TestAddr2LinerLookup(t *testing.T) { function checkAddress (line 234) | func checkAddress(got []plugin.Frame, address uint64, want string) bool { function TestSetTools (line 241) | func TestSetTools(t *testing.T) { function TestSetFastSymbolization (line 248) | func TestSetFastSymbolization(t *testing.T) { function skipUnlessLinuxAmd64 (line 255) | func skipUnlessLinuxAmd64(t *testing.T) { function skipUnlessDarwinAmd64 (line 261) | func skipUnlessDarwinAmd64(t *testing.T) { function skipUnlessWindowsAmd64 (line 267) | func skipUnlessWindowsAmd64(t *testing.T) { function testDisasm (line 273) | func testDisasm(t *testing.T, intelSyntax bool) { function TestDisasm (line 308) | func TestDisasm(t *testing.T) { function TestDisasmIntelSyntax (line 315) | func TestDisasmIntelSyntax(t *testing.T) { function findSymbol (line 322) | func findSymbol(syms []*plugin.Sym, name string) *plugin.Sym { function TestObjFile (line 331) | func TestObjFile(t *testing.T) { function TestMachoFiles (line 384) | func TestMachoFiles(t *testing.T) { function TestLLVMSymbolizer (line 451) | func TestLLVMSymbolizer(t *testing.T) { function TestPEFile (line 492) | func TestPEFile(t *testing.T) { function TestOpenMalformedELF (line 543) | func TestOpenMalformedELF(t *testing.T) { function TestOpenMalformedMachO (line 557) | func TestOpenMalformedMachO(t *testing.T) { function TestObjdumpVersionChecks (line 571) | func TestObjdumpVersionChecks(t *testing.T) { function TestComputeBase (line 660) | func TestComputeBase(t *testing.T) { function TestELFObjAddr (line 794) | func TestELFObjAddr(t *testing.T) { type buf (line 842) | type buf struct method write (line 847) | func (b *buf) write(s string) uint32 { function fakeELFFile (line 857) | func fakeELFFile(t *testing.T) *elf.File { function TestELFKernelOffset (line 940) | func TestELFKernelOffset(t *testing.T) { FILE: internal/binutils/disasm.go function findSymbols (line 36) | func findSymbols(syms []byte, file string, r *regexp.Regexp, address uin... function matchSymbol (line 86) | func matchSymbol(names []string, start, end uint64, r *regexp.Regexp, ad... function disassemble (line 111) | func disassemble(asm []byte) ([]plugin.Inst, error) { function nextSymbol (line 164) | func nextSymbol(buf *bytes.Buffer) (uint64, string, error) { FILE: internal/binutils/disasm_test.go function TestFindSymbols (line 26) | func TestFindSymbols(t *testing.T) { function checkSymbol (line 74) | func checkSymbol(got []*plugin.Sym, want []plugin.Sym) error { function TestFunctionAssembly (line 104) | func TestFunctionAssembly(t *testing.T) { FILE: internal/binutils/testdata/build_binaries.go function main (line 32) | func main() { function removeGlob (line 83) | func removeGlob(globs ...string) error { FILE: internal/binutils/testdata/hello.c function main (line 3) | int main() { FILE: internal/binutils/testdata/lib.c function foo (line 1) | int foo() { function bar (line 5) | int bar() { FILE: internal/driver/cli.go type source (line 26) | type source struct method addBaseProfiles (line 174) | func (source *source) addBaseProfiles(flagBase, flagDiffBase []*string... function parseFlags (line 46) | func parseFlags(o *plugin.Options) (*source, []string, error) { function dropEmpty (line 189) | func dropEmpty(list []*string) []string { function installConfigFlags (line 203) | func installConfigFlags(flag plugin.FlagSet, cfg *config) func() error { function sampleIndex (line 267) | func sampleIndex(flag *bool, si string, sampleType, option string, ui pl... function outputFormat (line 277) | func outputFormat(bcmd map[string]*bool, acmd map[string]*string) (cmd [... FILE: internal/driver/commands.go type commands (line 33) | type commands type command (line 39) | type command struct method help (line 49) | func (c *command) help(name string) string { function AddCommand (line 65) | func AddCommand(cmd string, format int, post PostProcessor, desc, usage ... function SetVariableDefault (line 71) | func SetVariableDefault(variable, value string) { type PostProcessor (line 76) | type PostProcessor function helpText (line 254) | func helpText(s ...string) string { function usage (line 260) | func usage(commandLine bool) string { function reportHelp (line 310) | func reportHelp(c string, cum, redirect bool) string { function listHelp (line 327) | func listHelp(c string, redirect bool) string { function browsers (line 341) | func browsers() []string { function awayFromTTY (line 370) | func awayFromTTY(format string) PostProcessor { function invokeDot (line 385) | func invokeDot(format string) PostProcessor { function massageDotSVG (line 398) | func massageDotSVG() PostProcessor { function invokeVisualizer (line 410) | func invokeVisualizer(suffix string, visualizers []string) PostProcessor { function stringToBool (line 452) | func stringToBool(s string) (bool, error) { FILE: internal/driver/config.go type config (line 16) | type config struct method fieldPtr (line 200) | func (cfg *config) fieldPtr(f configField) interface{} { method get (line 210) | func (cfg *config) get(f configField) string { method set (line 225) | func (cfg *config) set(f configField, value string) error { method resetTransient (line 316) | func (cfg *config) resetTransient() { method applyURL (line 326) | func (cfg *config) applyURL(params url.Values) error { method makeURL (line 344) | func (cfg *config) makeURL(initialURL url.URL) (url.URL, bool) { function defaultConfig (line 63) | func defaultConfig() config { function currentConfig (line 81) | func currentConfig() config { function setCurrentConfig (line 87) | func setCurrentConfig(cfg config) { type configField (line 94) | type configField struct function init (line 111) | func init() { function isConfigurable (line 263) | func isConfigurable(name string) bool { function isBoolConfig (line 270) | func isBoolConfig(name string) bool { function completeConfig (line 284) | func completeConfig(prefix string) []string { function configure (line 296) | func configure(name, value string) error { FILE: internal/driver/driver.go function PProf (line 37) | func PProf(eo *plugin.Options) error { function generateRawReport (line 64) | func generateRawReport(p *profile.Profile, cmd []string, cfg config, o *... function generateReport (line 114) | func generateReport(p *profile.Profile, cmd []string, cfg config, o *plu... function printWebList (line 166) | func printWebList(dst io.Writer, rpt *report.Report, obj plugin.ObjTool)... function applyCommandOverrides (line 178) | func applyCommandOverrides(cmd string, outputFormat int, cfg config) con... function generateTagRootsLeaves (line 235) | func generateTagRootsLeaves(prof *profile.Profile, cfg config, ui plugin... function dropEmptyStrings (line 244) | func dropEmptyStrings(in []string) (out []string) { function aggregate (line 253) | func aggregate(prof *profile.Profile, cfg config) error { function reportOptions (line 284) | func reportOptions(p *profile.Profile, numLabelUnits map[string]string, ... function identifyNumLabelUnits (line 353) | func identifyNumLabelUnits(p *profile.Profile, ui plugin.UI) map[string]... type sampleValueFunc (line 364) | type sampleValueFunc function sampleFormat (line 368) | func sampleFormat(p *profile.Profile, sampleIndex string, mean bool) (va... function valueExtractor (line 384) | func valueExtractor(ix int) sampleValueFunc { type profileCopier (line 392) | type profileCopier method newCopy (line 402) | func (c profileCopier) newCopy() *profile.Profile { function makeProfileCopier (line 394) | func makeProfileCopier(src *profile.Profile) profileCopier { FILE: internal/driver/driver_focus.go function applyFocus (line 32) | func applyFocus(prof *profile.Profile, numLabelUnits map[string]string, ... function compileRegexOption (line 70) | func compileRegexOption(name, value string, err error) (*regexp.Regexp, ... function compileTagFilter (line 81) | func compileTagFilter(name, value string, numLabelUnits map[string]strin... function parseTagFilterRange (line 168) | func parseTagFilterRange(filter string) func(int64, string) bool { function warnNoMatches (line 214) | func warnNoMatches(match bool, option string, ui plugin.UI) { FILE: internal/driver/driver_test.go function TestParse (line 40) | func TestParse(t *testing.T) { function removeScripts (line 230) | func removeScripts(in []byte) []byte { function addFlags (line 243) | func addFlags(f *testFlags, flags []string) { function testSourceURL (line 259) | func testSourceURL(port int) string { function solutionFilename (line 264) | func solutionFilename(source string, f *testFlags) string { function addString (line 291) | func addString(name []string, f *testFlags, components []string) []string { type testFlags (line 301) | type testFlags struct method ExtraUsage (line 310) | func (testFlags) ExtraUsage() string { return "" } method AddExtraUsage (line 312) | func (testFlags) AddExtraUsage(eu string) {} method Bool (line 314) | func (f testFlags) Bool(s string, d bool, c string) *bool { method Int (line 321) | func (f testFlags) Int(s string, d int, c string) *int { method Float64 (line 328) | func (f testFlags) Float64(s string, d float64, c string) *float64 { method String (line 335) | func (f testFlags) String(s, d, c string) *string { method StringList (line 342) | func (f testFlags) StringList(s, d, c string) *[]*string { method Parse (line 354) | func (f testFlags) Parse(func()) []string { function baseFlags (line 358) | func baseFlags() testFlags { constant testStart (line 379) | testStart = 0x1000 constant testOffset (line 380) | testOffset = 0x5000 type testFetcher (line 382) | type testFetcher struct method Fetch (line 384) | func (testFetcher) Fetch(s string, d, t time.Duration) (*profile.Profi... type testSymbolizer (line 433) | type testSymbolizer struct method Symbolize (line 435) | func (testSymbolizer) Symbolize(_ string, _ plugin.MappingSources, _ *... type testSymbolizeDemangler (line 439) | type testSymbolizeDemangler struct method Symbolize (line 441) | func (testSymbolizeDemangler) Symbolize(_ string, _ plugin.MappingSour... function testFetchSymbols (line 450) | func testFetchSymbols(source, post string) ([]byte, error) { type testSymbolzSymbolizer (line 481) | type testSymbolzSymbolizer struct method Symbolize (line 483) | func (testSymbolzSymbolizer) Symbolize(variables string, sources plugi... function fakeDemangler (line 487) | func fakeDemangler(name string) string { function longNameFuncsProfile (line 512) | func longNameFuncsProfile() *profile.Profile { function cpuProfile (line 587) | func cpuProfile() *profile.Profile { function cpuProfileSmall (line 706) | func cpuProfileSmall() *profile.Profile { function heapProfile (line 780) | func heapProfile() *profile.Profile { function contentionProfile (line 897) | func contentionProfile() *profile.Profile { function symzProfile (line 1000) | func symzProfile() *profile.Profile { function largeProfile (line 1035) | func largeProfile(tb testing.TB) *profile.Profile { function TestAutoComplete (line 1068) | func TestAutoComplete(t *testing.T) { function TestTagFilter (line 1078) | func TestTagFilter(t *testing.T) { function TestIdentifyNumLabelUnits (line 1159) | func TestIdentifyNumLabelUnits(t *testing.T) { function TestNumericTagFilter (line 1291) | func TestNumericTagFilter(t *testing.T) { function TestOptionsHaveHelp (line 1515) | func TestOptionsHaveHelp(t *testing.T) { type testSymbolzMergeFetcher (line 1530) | type testSymbolzMergeFetcher struct method Fetch (line 1532) | func (testSymbolzMergeFetcher) Fetch(s string, d, t time.Duration) (*p... function TestSymbolzAfterMerge (line 1550) | func TestSymbolzAfterMerge(t *testing.T) { function TestProfileCopier (line 1593) | func TestProfileCopier(t *testing.T) { type mockObjTool (line 1628) | type mockObjTool struct method Open (line 1630) | func (*mockObjTool) Open(file string, start, limit, offset uint64, rel... method Disasm (line 1634) | func (m *mockObjTool) Disasm(file string, start, end uint64, intelSynt... type mockFile (line 1659) | type mockFile struct method Name (line 1665) | func (m *mockFile) Name() string { method ObjAddr (line 1670) | func (m *mockFile) ObjAddr(addr uint64) (uint64, error) { method BuildID (line 1675) | func (m *mockFile) BuildID() string { method SourceLine (line 1683) | func (*mockFile) SourceLine(addr uint64) ([]plugin.Frame, error) { method Symbols (line 1738) | func (m *mockFile) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.S... method Close (line 1756) | func (*mockFile) Close() error { FILE: internal/driver/fetch.go function fetchProfiles (line 41) | func fetchProfiles(s *source, o *plugin.Options) (*profile.Profile, erro... function grabSourcesAndBases (line 129) | func grabSourcesAndBases(sources, bases []profileSource, fetch plugin.Fe... function chunkedGrab (line 173) | func chunkedGrab(sources []profileSource, fetch plugin.Fetcher, obj plug... function concurrentGrab (line 207) | func concurrentGrab(sources []profileSource, fetch plugin.Fetcher, obj p... function combineProfiles (line 244) | func combineProfiles(profiles []*profile.Profile, msrcs []plugin.Mapping... type profileSource (line 277) | type profileSource struct function homeEnv (line 287) | func homeEnv() string { function setTmpDir (line 301) | func setTmpDir(ui plugin.UI) (string, error) { constant testSourceAddress (line 320) | testSourceAddress = "pproftest.local" function grabProfile (line 325) | func grabProfile(s *source, source string, fetcher plugin.Fetcher, obj p... function collectMappingSources (line 363) | func collectMappingSources(p *profile.Profile, source string) plugin.Map... function unsourceMappings (line 392) | func unsourceMappings(p *profile.Profile) { function locateBinaries (line 404) | func locateBinaries(p *profile.Profile, s *source, obj plugin.ObjTool, u... function fetch (line 494) | func fetch(source string, duration, timeout time.Duration, ui plugin.UI,... function fetchURL (line 523) | func fetchURL(source string, timeout time.Duration, tr http.RoundTripper... function statusCodeError (line 540) | func statusCodeError(resp *http.Response) error { function isPerfFile (line 552) | func isPerfFile(path string) bool { function convertPerfData (line 572) | func convertPerfData(perfPath string, ui plugin.UI) (*os.File, error) { function adjustURL (line 593) | func adjustURL(source string, duration, timeout time.Duration) (string, ... FILE: internal/driver/fetch_test.go function TestSymbolizationPath (line 45) | func TestSymbolizationPath(t *testing.T) { function TestCollectMappingSources (line 100) | func TestCollectMappingSources(t *testing.T) { function TestUnsourceMappings (line 127) | func TestUnsourceMappings(t *testing.T) { type testObj (line 157) | type testObj struct method Open (line 161) | func (o testObj) Open(file string, start, limit, offset uint64, reloca... method Demangler (line 174) | func (testObj) Demangler(_ string) func(names []string) (map[string]st... method Disasm (line 177) | func (testObj) Disasm(file string, start, end uint64, intelSyntax bool... type testFile (line 181) | type testFile struct method Name (line 183) | func (f testFile) Name() string ... method ObjAddr (line 184) | func (testFile) ObjAddr(addr uint64) (uint64, error) ... method BuildID (line 185) | func (f testFile) BuildID() string ... method SourceLine (line 186) | func (testFile) SourceLine(addr uint64) ([]plugin.Frame, error) ... method Symbols (line 187) | func (testFile) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym,... method Close (line 188) | func (testFile) Close() error ... function TestFetch (line 190) | func TestFetch(t *testing.T) { function TestFetchWithBase (line 245) | func TestFetchWithBase(t *testing.T) { function mappingSources (line 573) | func mappingSources(key, source string, start uint64) plugin.MappingSour... type httpTransport (line 584) | type httpTransport struct method RoundTrip (line 586) | func (tr *httpTransport) RoundTrip(req *http.Request) (*http.Response,... function closedError (line 601) | func closedError() string { function TestHTTPSInsecure (line 608) | func TestHTTPSInsecure(t *testing.T) { function TestHTTPSWithServerCertFetch (line 681) | func TestHTTPSWithServerCertFetch(t *testing.T) { function checkProfileHasFunction (line 794) | func checkProfileHasFunction(p *profile.Profile, fname string) error { function selfSignedCert (line 806) | func selfSignedCert(t *testing.T, host string) (tls.Certificate, []byte,... FILE: internal/driver/flags.go type GoFlags (line 23) | type GoFlags struct method Bool (line 28) | func (*GoFlags) Bool(o string, d bool, c string) *bool { method Int (line 33) | func (*GoFlags) Int(o string, d int, c string) *int { method Float64 (line 38) | func (*GoFlags) Float64(o string, d float64, c string) *float64 { method String (line 43) | func (*GoFlags) String(o, d, c string) *string { method StringList (line 48) | func (*GoFlags) StringList(o, d, c string) *[]*string { method ExtraUsage (line 53) | func (f *GoFlags) ExtraUsage() string { method AddExtraUsage (line 58) | func (f *GoFlags) AddExtraUsage(eu string) { method Parse (line 63) | func (*GoFlags) Parse(usage func()) []string { FILE: internal/driver/html/common.js function initPanAndZoom (line 3) | function initPanAndZoom(svg, clickHandler) { function initMenus (line 217) | function initMenus() { function sendURL (line 266) | function sendURL(method, url, done) { function initConfigManager (line 273) | function initConfigManager() { function viewer (line 396) | function viewer(baseUrl, nodes, options) { function pprofQuoteMeta (line 712) | function pprofQuoteMeta(str) { FILE: internal/driver/html/stacks.js function stackViewer (line 4) | function stackViewer(stacks, nodes) { function pprofUnitText (line 615) | function pprofUnitText(value, unit) { FILE: internal/driver/interactive.go function interactive (line 34) | func interactive(p *profile.Profile, o *plugin.Options) error { function greetings (line 128) | func greetings(p *profile.Profile, ui plugin.UI) { type shortcuts (line 144) | type shortcuts method expand (line 146) | func (a shortcuts) expand(input string) []string { function profileShortcuts (line 161) | func profileShortcuts(p *profile.Profile) shortcuts { function sampleTypes (line 173) | func sampleTypes(p *profile.Profile) []string { function printCurrentOptions (line 181) | func printCurrentOptions(p *profile.Profile, ui plugin.UI) { function parseCommandLine (line 223) | func parseCommandLine(input []string) ([]string, config, error) { function catRegex (line 309) | func catRegex(a, b string) string { function commandHelp (line 318) | func commandHelp(args string, ui plugin.UI) { function newCompleter (line 345) | func newCompleter(fns []string) func(string) string { function matchVariableOrCommand (line 381) | func matchVariableOrCommand(token string) string { function functionCompleter (line 400) | func functionCompleter(substring string, fns []string) string { function functionNames (line 416) | func functionNames(p *profile.Profile) []string { FILE: internal/driver/interactive_test.go function TestShell (line 30) | func TestShell(t *testing.T) { function makeShortcuts (line 108) | func makeShortcuts(input []string, seed int64) (shortcuts, []string) { function checkValue (line 134) | func checkValue(p *profile.Profile, cmd []string, cfg config, o *plugin.... function interleave (line 160) | func interleave(input []string, seed int64) []string { function TestInteractiveCommands (line 179) | func TestInteractiveCommands(t *testing.T) { FILE: internal/driver/options.go function setDefaults (line 32) | func setDefaults(o *plugin.Options) *plugin.Options { type stdUI (line 58) | type stdUI struct method ReadLine (line 62) | func (ui *stdUI) ReadLine(prompt string) (string, error) { method Print (line 67) | func (ui *stdUI) Print(args ...interface{}) { method PrintErr (line 71) | func (ui *stdUI) PrintErr(args ...interface{}) { method IsTerminal (line 75) | func (ui *stdUI) IsTerminal() bool { method WantBrowser (line 79) | func (ui *stdUI) WantBrowser() bool { method SetAutoComplete (line 83) | func (ui *stdUI) SetAutoComplete(func(string) string) { method fprint (line 86) | func (ui *stdUI) fprint(f *os.File, args []interface{}) { type oswriter (line 95) | type oswriter struct method Open (line 97) | func (oswriter) Open(name string) (io.WriteCloser, error) { FILE: internal/driver/settings.go type settings (line 12) | type settings struct type namedConfig (line 18) | type namedConfig struct function settingsFileName (line 24) | func settingsFileName() (string, error) { function readSettings (line 34) | func readSettings(fname string) (*settings, error) { function writeSettings (line 53) | func writeSettings(fname string, settings *settings) error { type configMenuEntry (line 73) | type configMenuEntry struct function configMenu (line 81) | func configMenu(fname string, u url.URL) []configMenuEntry { function editSettings (line 113) | func editSettings(fname string, fn func(s *settings) error) error { function setConfig (line 125) | func setConfig(fname string, request url.URL) error { function removeConfig (line 148) | func removeConfig(fname, config string) error { FILE: internal/driver/settings_test.go function settingsDirAndFile (line 14) | func settingsDirAndFile(t *testing.T) (string, string) { function TestSettings (line 22) | func TestSettings(t *testing.T) { function TestParseConfig (line 58) | func TestParseConfig(t *testing.T) { function TestDefaultConfig (line 108) | func TestDefaultConfig(t *testing.T) { function TestConfigMenu (line 119) | func TestConfigMenu(t *testing.T) { function TestEditConfig (line 147) | func TestEditConfig(t *testing.T) { function TestAssign (line 215) | func TestAssign(t *testing.T) { FILE: internal/driver/stacks.go method stackView (line 26) | func (ui *webInterface) stackView(w http.ResponseWriter, req *http.Reque... FILE: internal/driver/svg.go function massageSVG (line 33) | func massageSVG(svg string) string { FILE: internal/driver/tagroot.go function addLabelNodes (line 17) | func addLabelNodes(p *profile.Profile, rootKeys, leafKeys []string, outp... function formatLabelValues (line 115) | func formatLabelValues(s *profile.Sample, k string, outputUnit string) [... FILE: internal/driver/tagroot_test.go constant mainBinary (line 12) | mainBinary = "/bin/main" function TestAddLabelNodesMatchBooleans (line 178) | func TestAddLabelNodesMatchBooleans(t *testing.T) { function stackCollapse (line 372) | func stackCollapse(p *profile.Profile) []string { FILE: internal/driver/tempfile.go function newTempFile (line 25) | func newTempFile(dir, prefix, suffix string) (*os.File, error) { function deferDeleteTempFile (line 42) | func deferDeleteTempFile(path string) { function cleanupTempFiles (line 49) | func cleanupTempFiles() error { FILE: internal/driver/tempfile_test.go function TestNewTempFile (line 9) | func TestNewTempFile(t *testing.T) { FILE: internal/driver/webhtml.go function getHTMLTemplates (line 34) | func getHTMLTemplates() *template.Template { function addTemplates (line 47) | func addTemplates(templates *template.Template) { FILE: internal/driver/webui.go type webInterface (line 41) | type webInterface struct method makeReport (line 261) | func (ui *webInterface) makeReport(w http.ResponseWriter, req *http.Re... method render (line 297) | func (ui *webInterface) render(w http.ResponseWriter, req *http.Reques... method dot (line 313) | func (ui *webInterface) dot(w http.ResponseWriter, req *http.Request) { method top (line 365) | func (ui *webInterface) top(w http.ResponseWriter, req *http.Request) { method disasm (line 385) | func (ui *webInterface) disasm(w http.ResponseWriter, req *http.Reques... method source (line 408) | func (ui *webInterface) source(w http.ResponseWriter, req *http.Reques... method peek (line 430) | func (ui *webInterface) peek(w http.ResponseWriter, req *http.Request) { method saveConfig (line 453) | func (ui *webInterface) saveConfig(w http.ResponseWriter, req *http.Re... method deleteConfig (line 462) | func (ui *webInterface) deleteConfig(w http.ResponseWriter, req *http.... function makeWebInterface (line 49) | func makeWebInterface(p *profile.Profile, copier profileCopier, opt *plu... constant maxEntries (line 64) | maxEntries = 50 type errorCatcher (line 67) | type errorCatcher struct method PrintErr (line 72) | func (ec *errorCatcher) PrintErr(args ...interface{}) { type webArgs (line 78) | type webArgs struct function serveWebInterface (line 98) | func serveWebInterface(hostport string, p *profile.Profile, o *plugin.Op... function getHostAndPort (line 158) | func getHostAndPort(hostport string) (string, int, error) { function defaultWebServer (line 185) | func defaultWebServer(args *plugin.HTTPServerArgs) error { function redirectWithQuery (line 223) | func redirectWithQuery(path string, code int) http.HandlerFunc { function isLocalhost (line 231) | func isLocalhost(host string) bool { function openBrowser (line 235) | func openBrowser(url string, o *plugin.Options) { function renderHTML (line 285) | func renderHTML(dst io.Writer, tmpl string, rpt *report.Report, errList,... function dotToSvg (line 347) | func dotToSvg(dot []byte) ([]byte, error) { function getFromLegend (line 473) | func getFromLegend(legend []string, param, def string) string { FILE: internal/driver/webui_test.go function makeTestServer (line 35) | func makeTestServer(t testing.TB, prof *profile.Profile) *httptest.Server { function TestWebInterface (line 68) | func TestWebInterface(t *testing.T) { constant addrBase (line 158) | addrBase = 0x1000 constant fakeSource (line 159) | fakeSource = "testdata/file1000.src" type fakeObj (line 161) | type fakeObj struct method Close (line 163) | func (f fakeObj) Close() error { return nil } method Name (line 164) | func (f fakeObj) Name() string { return "testbi... method ObjAddr (line 165) | func (f fakeObj) ObjAddr(addr uint64) (uint64, error) { return addr, n... method BuildID (line 166) | func (f fakeObj) BuildID() string { return "" } method SourceLine (line 167) | func (f fakeObj) SourceLine(addr uint64) ([]plugin.Frame, error) { method Symbols (line 170) | func (f fakeObj) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym... type fakeObjTool (line 187) | type fakeObjTool struct method Open (line 189) | func (obj fakeObjTool) Open(file string, start, limit, offset uint64, ... method Disasm (line 193) | func (obj fakeObjTool) Disasm(file string, start, end uint64, intelSyn... function makeFakeProfile (line 201) | func makeFakeProfile() *profile.Profile { function TestGetHostAndPort (line 257) | func TestGetHostAndPort(t *testing.T) { function TestIsLocalHost (line 292) | func TestIsLocalHost(t *testing.T) { function BenchmarkTop (line 305) | func BenchmarkTop(b *testing.B) { benchmarkURL(b, "/top", false) } function BenchmarkFlame (line 306) | func BenchmarkFlame(b *testing.B) { benchmarkURL(b, "/flamegraph", false) } function BenchmarkDot (line 307) | func BenchmarkDot(b *testing.B) { benchmarkURL(b, "/", true) } function benchmarkURL (line 309) | func benchmarkURL(b *testing.B, path string, needDot bool) { FILE: internal/elfexec/elfexec.go constant maxNoteSize (line 27) | maxNoteSize = 1 << 20 constant noteTypeGNUBuildID (line 28) | noteTypeGNUBuildID = 3 type elfNote (line 32) | type elfNote struct function parseNotes (line 39) | func parseNotes(reader io.Reader, alignment int, order binary.ByteOrder)... function GetBuildID (line 121) | func GetBuildID(f *elf.File) ([]byte, error) { function kernelBase (line 167) | func kernelBase(loadSegment *elf.ProgHeader, stextOffset *uint64, start,... function GetBase (line 216) | func GetBase(fh *elf.FileHeader, loadSegment *elf.ProgHeader, stextOffse... function FindTextProgHeader (line 287) | func FindTextProgHeader(f *elf.File) *elf.ProgHeader { function ProgramHeadersForMapping (line 310) | func ProgramHeadersForMapping(phdrs []elf.ProgHeader, mapOff, mapSz uint... function HeaderForFileOffset (line 358) | func HeaderForFileOffset(headers []*elf.ProgHeader, fileOffset uint64) (... FILE: internal/elfexec/elfexec_test.go function TestGetBase (line 25) | func TestGetBase(t *testing.T) { function uint64p (line 116) | func uint64p(n uint64) *uint64 { function TestFindProgHeaderForMapping (line 120) | func TestFindProgHeaderForMapping(t *testing.T) { function TestHeaderForFileOffset (line 413) | func TestHeaderForFileOffset(t *testing.T) { FILE: internal/graph/dotgraph.go type DotAttributes (line 29) | type DotAttributes struct type DotNodeAttributes (line 34) | type DotNodeAttributes struct type DotConfig (line 44) | type DotConfig struct constant maxNodelets (line 53) | maxNodelets = 4 function ComposeDot (line 57) | func ComposeDot(w io.Writer, g *Graph, a *DotAttributes, c *DotConfig) { type builder (line 101) | type builder struct method start (line 108) | func (b *builder) start() { method finish (line 118) | func (b *builder) finish() { method addLegend (line 123) | func (b *builder) addLegend() { method addNode (line 141) | func (b *builder) addNode(node *Node, nodeID int, maxFlat float64) { method addNodelets (line 216) | func (b *builder) addNodelets(node *Node, nodeID int) bool { method numericNodelets (line 265) | func (b *builder) numericNodelets(nts []*Tag, maxNumNodelets int, flat... method addEdge (line 285) | func (b *builder) addEdge(edge *Edge, from, to int, hasNodelets bool) { method collapsedTags (line 399) | func (b *builder) collapsedTags(ts []*Tag, count int, flatTags bool) [... method tagGroupLabel (line 439) | func (b *builder) tagGroupLabel(g []*Tag) (label string, flat, cum int... function dotColor (line 330) | func dotColor(score float64, isBackground bool) string { function multilinePrintableName (line 384) | func multilinePrintableName(info *NodeInfo) string { function tagDistance (line 431) | func tagDistance(t, u *Tag) float64 { function min64 (line 473) | func min64(a, b int64) int64 { function escapeAllForDot (line 481) | func escapeAllForDot(in []string) []string { function escapeForDot (line 492) | func escapeForDot(str string) string { FILE: internal/graph/dotgraph_test.go function TestComposeWithStandardGraph (line 33) | func TestComposeWithStandardGraph(t *testing.T) { function TestComposeWithNodeAttributesAndZeroFlat (line 43) | func TestComposeWithNodeAttributesAndZeroFlat(t *testing.T) { function TestComposeWithTagsAndResidualEdge (line 67) | func TestComposeWithTagsAndResidualEdge(t *testing.T) { function TestComposeWithNestedTags (line 95) | func TestComposeWithNestedTags(t *testing.T) { function TestComposeWithEmptyGraph (line 120) | func TestComposeWithEmptyGraph(t *testing.T) { function TestComposeWithStandardGraphAndURL (line 130) | func TestComposeWithStandardGraphAndURL(t *testing.T) { function TestComposeWithNamesThatNeedEscaping (line 141) | func TestComposeWithNamesThatNeedEscaping(t *testing.T) { function TestComposeWithCommentsWithNewlines (line 153) | func TestComposeWithCommentsWithNewlines(t *testing.T) { function baseGraph (line 166) | func baseGraph() *Graph { function baseAttrsAndConfig (line 200) | func baseAttrsAndConfig() (*DotAttributes, *DotConfig) { function compareGraphs (line 215) | func compareGraphs(t *testing.T, got []byte, wantFile string) { function TestNodeletCountCapping (line 237) | func TestNodeletCountCapping(t *testing.T) { function TestMultilinePrintableName (line 290) | func TestMultilinePrintableName(t *testing.T) { function TestTagCollapse (line 304) | func TestTagCollapse(t *testing.T) { function TestEscapeForDot (line 354) | func TestEscapeForDot(t *testing.T) { function tagString (line 394) | func tagString(t []*Tag) string { FILE: internal/graph/graph.go type Graph (line 50) | type Graph struct method TrimTree (line 479) | func (g *Graph) TrimTree(kept NodePtrSet) { method String (line 726) | func (g *Graph) String() string { method DiscardLowFrequencyNodes (line 752) | func (g *Graph) DiscardLowFrequencyNodes(nodeCutoff int64) NodeSet { method DiscardLowFrequencyNodePtrs (line 758) | func (g *Graph) DiscardLowFrequencyNodePtrs(nodeCutoff int64) NodePtrS... method TrimLowFrequencyTags (line 791) | func (g *Graph) TrimLowFrequencyTags(tagCutoff int64) { method TrimLowFrequencyEdges (line 813) | func (g *Graph) TrimLowFrequencyEdges(edgeCutoff int64) int { method SortNodes (line 828) | func (g *Graph) SortNodes(cum bool, visualMode bool) { method SelectTopNodePtrs (line 842) | func (g *Graph) SelectTopNodePtrs(maxNodes int, visualMode bool) NodeP... method SelectTopNodes (line 851) | func (g *Graph) SelectTopNodes(maxNodes int, visualMode bool) NodeSet { method selectTopNodes (line 856) | func (g *Graph) selectTopNodes(maxNodes int, visualMode bool) Nodes { method RemoveRedundantEdges (line 899) | func (g *Graph) RemoveRedundantEdges() { type Options (line 55) | type Options struct type Nodes (line 69) | type Nodes method Sum (line 649) | func (ns Nodes) Sum() (flat int64, cum int64) { method Sort (line 958) | func (ns Nodes) Sort(o NodeOrder) error { type Node (line 73) | type Node struct method FlatValue (line 104) | func (n *Node) FlatValue() int64 { method CumValue (line 113) | func (n *Node) CumValue() int64 { method AddToEdge (line 122) | func (n *Node) AddToEdge(to *Node, v int64, residual, inline bool) { method AddToEdgeDiv (line 128) | func (n *Node) AddToEdgeDiv(to *Node, dv, v int64, residual, inline bo... method addSample (line 657) | func (n *Node) addSample(dw, w int64, labels string, numLabel map[stri... type NodeInfo (line 151) | type NodeInfo struct method PrintableName (line 162) | func (i *NodeInfo) PrintableName() string { method NameComponents (line 167) | func (i *NodeInfo) NameComponents() []string { method comparePrintableName (line 200) | func (i *NodeInfo) comparePrintableName(right NodeInfo) (equal bool, l... type NodeMap (line 216) | type NodeMap method FindOrInsertNode (line 234) | func (nm NodeMap) FindOrInsertNode(info NodeInfo, kept NodeSet) *Node { method nodes (line 587) | func (nm NodeMap) nodes() Nodes { method findOrInsertLine (line 595) | func (nm NodeMap) findOrInsertLine(l *profile.Location, li profile.Lin... type NodeSet (line 219) | type NodeSet type NodePtrSet (line 229) | type NodePtrSet type EdgeMap (line 268) | type EdgeMap method Sort (line 1136) | func (e EdgeMap) Sort() []*Edge { method Sum (line 1147) | func (e EdgeMap) Sum() int64 { type Edge (line 271) | type Edge struct method WeightValue (line 285) | func (e *Edge) WeightValue() int64 { type Tag (line 293) | type Tag struct method FlatValue (line 303) | func (t *Tag) FlatValue() int64 { method CumValue (line 312) | func (t *Tag) CumValue() int64 { type TagMap (line 320) | type TagMap method findOrAddTag (line 712) | func (m TagMap) findOrAddTag(label, unit string, value int64) *Tag { function SortTags (line 323) | func SortTags(t []*Tag, flat bool) []*Tag { function New (line 330) | func New(prof *profile.Profile, o *Options) *Graph { function newGraph (line 341) | func newGraph(prof *profile.Profile, o *Options) (*Graph, map[uint64]Nod... function selectNodesForGraph (line 394) | func selectNodesForGraph(nodes Nodes, dropNegative bool) *Graph { type nodePair (line 412) | type nodePair struct function newTree (line 416) | func newTree(prof *profile.Profile, o *Options) (g *Graph) { function ShortenFunctionName (line 466) | func ShortenFunctionName(f string) string { function joinLabels (line 539) | func joinLabels(s *profile.Sample) string { function isNegative (line 556) | func isNegative(n *Node) bool { function CreateNodes (line 570) | func CreateNodes(prof *profile.Profile, o *Options) (Nodes, map[uint64]N... function nodeInfo (line 606) | func nodeInfo(l *profile.Location, line profile.Line, objfile string, o ... type tags (line 629) | type tags struct method Len (line 634) | func (t tags) Len() int { return len(t.t) } method Swap (line 635) | func (t tags) Swap(i, j int) { t.t[i], t.t[j] = t.t[j], t.t[i] } method Less (line 636) | func (t tags) Less(i, j int) bool { function defaultLabelFormat (line 708) | func defaultLabelFormat(v int64, key string) string { function makeNodeSet (line 767) | func makeNodeSet(nodes Nodes, nodeCutoff int64) NodeSet { function getNodesAboveCumCutoff (line 778) | func getNodesAboveCumCutoff(nodes Nodes, nodeCutoff int64) Nodes { function trimLowFreqTags (line 801) | func trimLowFreqTags(tags TagMap, minValue int64) TagMap { function countTags (line 879) | func countTags(n *Node) int { function isRedundantEdge (line 922) | func isRedundantEdge(e *Edge) bool { type nodeSorter (line 945) | type nodeSorter struct method Len (line 950) | func (s nodeSorter) Len() int { return len(s.rs) } method Swap (line 951) | func (s nodeSorter) Swap(i, j int) { s.rs[i], s.rs[j] = s.rs[j], ... method Less (line 952) | func (s nodeSorter) Less(i, j int) bool { return s.less(s.rs[i], s.rs[... function compareNodes (line 1064) | func compareNodes(l, r *Node) bool { function entropyScore (line 1075) | func entropyScore(n *Node) int64 { function edgeEntropyScore (line 1098) | func edgeEntropyScore(n *Node, edges EdgeMap, self int64) float64 { type NodeOrder (line 1120) | type NodeOrder constant FlatNameOrder (line 1124) | FlatNameOrder NodeOrder = iota constant FlatCumNameOrder (line 1125) | FlatCumNameOrder constant CumNameOrder (line 1126) | CumNameOrder constant NameOrder (line 1127) | NameOrder constant FileOrder (line 1128) | FileOrder constant AddressOrder (line 1129) | AddressOrder constant EntropyOrder (line 1130) | EntropyOrder type edgeList (line 1155) | type edgeList method Len (line 1157) | func (el edgeList) Len() int { method Less (line 1161) | func (el edgeList) Less(i, j int) bool { method Swap (line 1178) | func (el edgeList) Swap(i, j int) { function abs64 (line 1182) | func abs64(i int64) int64 { FILE: internal/graph/graph_test.go function edgeDebugString (line 24) | func edgeDebugString(edge *Edge) string { function edgeMapsDebugString (line 34) | func edgeMapsDebugString(in, out EdgeMap) string { function graphDebugString (line 49) | func graphDebugString(graph *Graph) string { function expectedNodesDebugString (line 63) | func expectedNodesDebugString(expected []expectedNode) string { function edgeMapsEqual (line 78) | func edgeMapsEqual(this, that EdgeMap) bool { function nodesEqual (line 91) | func nodesEqual(node *Node, expected expectedNode) bool { function graphsEqual (line 97) | func graphsEqual(graph *Graph, expected []expectedNode) bool { type expectedNode (line 115) | type expectedNode struct type trimTreeTestcase (line 120) | type trimTreeTestcase struct function makeExpectedEdgeResidual (line 127) | func makeExpectedEdgeResidual(parent, child expectedNode) { function makeEdgeInline (line 132) | func makeEdgeInline(edgeMap EdgeMap, node *Node) { function setEdgeWeight (line 136) | func setEdgeWeight(edgeMap EdgeMap, node *Node, weight int64) { function createEdges (line 141) | func createEdges(parent *Node, children ...*Node) { function createEmptyNode (line 153) | func createEmptyNode() *Node { function createExpectedNodes (line 161) | func createExpectedNodes(nodes ...*Node) ([]expectedNode, NodePtrSet) { function createExpectedEdges (line 179) | func createExpectedEdges(parent expectedNode, children ...expectedNode) { function createTestCase1 (line 203) | func createTestCase1() trimTreeTestcase { function createTestCase2 (line 250) | func createTestCase2() trimTreeTestcase { function createTestCase3 (line 280) | func createTestCase3() trimTreeTestcase { function createTestCase4 (line 297) | func createTestCase4() trimTreeTestcase { function createTrimTreeTestCases (line 311) | func createTrimTreeTestCases() []trimTreeTestcase { function TestTrimTree (line 325) | func TestTrimTree(t *testing.T) { function nodeTestProfile (line 338) | func nodeTestProfile() *profile.Profile { function TestCreateNodes (line 403) | func TestCreateNodes(t *testing.T) { function TestShortenFunctionName (line 422) | func TestShortenFunctionName(t *testing.T) { FILE: internal/measurement/measurement.go function ScaleProfiles (line 31) | func ScaleProfiles(profiles []*profile.Profile) error { function CommonValueType (line 88) | func CommonValueType(ts []*profile.ValueType) (*profile.ValueType, error) { function compatibleValueTypes (line 105) | func compatibleValueTypes(v1, v2 *profile.ValueType) bool { function Scale (line 128) | func Scale(value int64, fromUnit, toUnit string) (float64, string) { function Label (line 149) | func Label(value int64, unit string) string { function ScaledLabel (line 155) | func ScaledLabel(value int64, fromUnit, toUnit string) string { function Percentage (line 166) | func Percentage(value, total int64) string { type Unit (line 184) | type Unit struct type UnitType (line 192) | type UnitType struct method findByAlias (line 199) | func (ut UnitType) findByAlias(alias string) *Unit { method sniffUnit (line 210) | func (ut UnitType) sniffUnit(unit string) *Unit { method autoScale (line 221) | func (ut UnitType) autoScale(value float64) (float64, string, bool) { method convertUnit (line 241) | func (ut UnitType) convertUnit(value int64, fromUnitStr, toUnitStr str... FILE: internal/measurement/measurement_test.go function TestScale (line 22) | func TestScale(t *testing.T) { function floatEqual (line 72) | func floatEqual(a, b float64) bool { FILE: internal/plugin/plugin.go type Options (line 28) | type Options struct type Writer (line 50) | type Writer interface type FlagSet (line 56) | type FlagSet interface type Fetcher (line 92) | type Fetcher interface type Symbolizer (line 97) | type Symbolizer interface type MappingSources (line 103) | type MappingSources type ObjTool (line 109) | type ObjTool interface type Inst (line 123) | type Inst struct type ObjFile (line 132) | type ObjFile interface type Frame (line 161) | type Frame struct type Sym (line 170) | type Sym struct type UI (line 178) | type UI interface type HTTPServerArgs (line 208) | type HTTPServerArgs struct FILE: internal/proftest/proftest.go function Diff (line 37) | func Diff(b1, b2 []byte) (data []byte, err error) { function EncodeJSON (line 70) | func EncodeJSON(x interface{}) []byte { type TestUI (line 83) | type TestUI struct method ReadLine (line 93) | func (ui *TestUI) ReadLine(_ string) (string, error) { method Print (line 106) | func (ui *TestUI) Print(args ...interface{}) { method PrintErr (line 111) | func (ui *TestUI) PrintErr(args ...interface{}) { method IsTerminal (line 133) | func (ui *TestUI) IsTerminal() bool { method WantBrowser (line 138) | func (ui *TestUI) WantBrowser() bool { method SetAutoComplete (line 143) | func (ui *TestUI) SetAutoComplete(_ func(string) string) { function LargeProfile (line 151) | func LargeProfile(tb testing.TB) []byte { FILE: internal/report/package.go function packageName (line 11) | func packageName(name string) string { FILE: internal/report/package_test.go function TestPackageName (line 7) | func TestPackageName(t *testing.T) { FILE: internal/report/report.go constant Callgrind (line 39) | Callgrind = iota constant Comments (line 40) | Comments constant Dis (line 41) | Dis constant Dot (line 42) | Dot constant List (line 43) | List constant Proto (line 44) | Proto constant Raw (line 45) | Raw constant Tags (line 46) | Tags constant Text (line 47) | Text constant TopProto (line 48) | TopProto constant Traces (line 49) | Traces constant Tree (line 50) | Tree constant WebList (line 51) | WebList type Options (line 56) | type Options struct function Generate (line 88) | func Generate(w io.Writer, rpt *Report, obj plugin.ObjTool) error { function printProto (line 298) | func printProto(w io.Writer, rpt *Report) error { function printTopProto (line 313) | func printTopProto(w io.Writer, rpt *Report) error { type functionMap (line 361) | type functionMap method findOrAdd (line 367) | func (fm functionMap) findOrAdd(ni graph.NodeInfo) (*profile.Function,... function printAssembly (line 386) | func printAssembly(w io.Writer, rpt *Report, obj plugin.ObjTool) error { function PrintAssembly (line 391) | func PrintAssembly(w io.Writer, rpt *Report, obj plugin.ObjTool, maxFunc... function symbolsFromBinaries (line 520) | func symbolsFromBinaries(prof *profile.Profile, g *graph.Graph, rx *rege... type objSymbol (line 575) | type objSymbol struct type orderSyms (line 581) | type orderSyms struct method Len (line 586) | func (o orderSyms) Len() int { return len(o.v) } method Less (line 587) | func (o orderSyms) Less(i, j int) bool { return o.less(o.v[i], o.v[j]) } method Swap (line 588) | func (o orderSyms) Swap(i, j int) { o.v[i], o.v[j] = o.v[j], o.v[... function nodesPerSymbol (line 591) | func nodesPerSymbol(ns graph.Nodes, symbols []*objSymbol) map[*objSymbol... type assemblyInstruction (line 604) | type assemblyInstruction struct method flatValue (line 621) | func (a *assemblyInstruction) flatValue() int64 { method cumValue (line 628) | func (a *assemblyInstruction) cumValue() int64 { type callID (line 616) | type callID struct function annotateAssembly (line 638) | func annotateAssembly(insts []plugin.Inst, samples graph.Nodes, file plu... function valueOrDot (line 689) | func valueOrDot(value int64, rpt *Report) string { function printTags (line 698) | func printTags(w io.Writer, rpt *Report) error { function printComments (line 770) | func printComments(w io.Writer, rpt *Report) error { type TextItem (line 780) | type TextItem struct function TextItems (line 789) | func TextItems(rpt *Report) ([]TextItem, []string) { function printText (line 831) | func printText(w io.Writer, rpt *Report) error { function printTraces (line 853) | func printTraces(w io.Writer, rpt *Report) error { function printCallgrind (line 929) | func printCallgrind(w io.Writer, rpt *Report) error { function getDisambiguatedNames (line 990) | func getDisambiguatedNames(g *graph.Graph) map[*graph.Node]string { function callgrindName (line 1029) | func callgrindName(names map[string]int, name string) string { function callgrindAddress (line 1045) | func callgrindAddress(prevInfo *graph.NodeInfo, curr uint64) string { function printTree (line 1068) | func printTree(w io.Writer, rpt *Report) error { function GetDOT (line 1136) | func GetDOT(rpt *Report) (*graph.Graph, *graph.DotConfig) { function printDOT (line 1151) | func printDOT(w io.Writer, rpt *Report) error { function ProfileLabels (line 1158) | func ProfileLabels(rpt *Report) []string { function graphTotal (line 1198) | func graphTotal(g *graph.Graph) int64 { function reportLabels (line 1208) | func reportLabels(rpt *Report, shownTotal int64, nodeCount, origCount, d... function legendActiveFilters (line 1250) | func legendActiveFilters(activeFilters []string) []string { function genLabel (line 1262) | func genLabel(d int, n, l, f string) string { function New (line 1271) | func New(prof *profile.Profile, o *Options) *Report { function NewDefault (line 1285) | func NewDefault(prof *profile.Profile, options Options) *Report { function computeTotal (line 1302) | func computeTotal(prof *profile.Profile, value, meanDiv func(v []int64) ... type Report (line 1332) | type Report struct method newTrimmedGraph (line 124) | func (rpt *Report) newTrimmedGraph() (g *graph.Graph, origCount, dropp... method selectOutputUnit (line 187) | func (rpt *Report) selectOutputUnit(g *graph.Graph) { method newGraph (line 238) | func (rpt *Report) newGraph(nodes graph.NodeSet) *graph.Graph { method Total (line 1340) | func (rpt *Report) Total() int64 { return rpt.total } method OutputFormat (line 1343) | func (rpt *Report) OutputFormat() int { return rpt.options.OutputFormat } method DocURL (line 1346) | func (rpt *Report) DocURL() string { function absoluteURL (line 1354) | func absoluteURL(str string) bool { function abs64 (line 1361) | func abs64(i int64) int64 { FILE: internal/report/report_test.go type testcase (line 35) | type testcase struct function TestSource (line 40) | func TestSource(t *testing.T) { function TestFilter (line 107) | func TestFilter(t *testing.T) { function testSample (line 256) | func testSample(value int64, locs ...*profile.Location) *profile.Sample { function makeTestProfile (line 265) | func makeTestProfile(samples ...*profile.Sample) *profile.Profile { function TestDisambiguation (line 312) | func TestDisambiguation(t *testing.T) { function TestFunctionMap (line 342) | func TestFunctionMap(t *testing.T) { function TestLegendActiveFilters (line 373) | func TestLegendActiveFilters(t *testing.T) { function TestComputeTotal (line 394) | func TestComputeTotal(t *testing.T) { function TestPrintAssemblyErrorMessage (line 512) | func TestPrintAssemblyErrorMessage(t *testing.T) { function TestDocURL (line 554) | func TestDocURL(t *testing.T) { function TestDocURLInLabels (line 583) | func TestDocURLInLabels(t *testing.T) { function TestProfileLabels (line 601) | func TestProfileLabels(t *testing.T) { function BenchmarkReportNewTrimmedGraph (line 619) | func BenchmarkReportNewTrimmedGraph(b *testing.B) { FILE: internal/report/shortnames.go function fileNameSuffixes (line 31) | func fileNameSuffixes(name string) []string { function shortNameList (line 41) | func shortNameList(name string) []string { function allSuffixes (line 48) | func allSuffixes(name string, re *regexp.Regexp) []string { FILE: internal/report/shortnames_test.go function TestShortNames (line 8) | func TestShortNames(t *testing.T) { function TestFileNameSuffixes (line 36) | func TestFileNameSuffixes(t *testing.T) { FILE: internal/report/source.go function printSource (line 43) | func printSource(w io.Writer, rpt *Report) error { type sourcePrinter (line 127) | type sourcePrinter struct method close (line 363) | func (sp *sourcePrinter) close() { method expandAddresses (line 371) | func (sp *sourcePrinter) expandAddresses(rpt *Report, addrs map[uint64... method addStack (line 465) | func (sp *sourcePrinter) addStack(addr uint64, frames []plugin.Frame) { method handleUnprocessed (line 506) | func (sp *sourcePrinter) handleUnprocessed(addrs map[uint64]addrInfo, ... method splitIntoRanges (line 547) | func (sp *sourcePrinter) splitIntoRanges(prof *profile.Profile, addrMa... method initSamples (line 594) | func (sp *sourcePrinter) initSamples(flat, cum map[uint64]int64) { method generate (line 608) | func (sp *sourcePrinter) generate(maxFiles int, rpt *Report) WebListDa... method generateFile (line 651) | func (sp *sourcePrinter) generateFile(f *sourceFile, rpt *Report) WebL... method functions (line 717) | func (sp *sourcePrinter) functions(f *sourceFile) []sourceFunction { method objectFile (line 790) | func (sp *sourcePrinter) objectFile(m *profile.Mapping) plugin.ObjFile { type addrInfo (line 145) | type addrInfo struct type instructionInfo (line 151) | type instructionInfo struct type sourceFile (line 161) | type sourceFile struct type sourceInst (line 170) | type sourceInst struct type sourceFunction (line 177) | type sourceFunction struct type addressRange (line 184) | type addressRange struct type WebListData (line 192) | type WebListData struct type WebListFile (line 198) | type WebListFile struct type WebListFunc (line 203) | type WebListFunc struct type WebListLine (line 213) | type WebListLine struct type WebListInstruction (line 223) | type WebListInstruction struct type WebListCall (line 235) | type WebListCall struct function MakeWebList (line 243) | func MakeWebList(rpt *Report, obj plugin.ObjTool, maxFiles int) (WebList... function newSourcePrinter (line 260) | func newSourcePrinter(rpt *Report, obj plugin.ObjTool, sourcePath string... constant synthAsm (line 502) | synthAsm = "" function makeWebListLine (line 807) | func makeWebListLine(lineNo int, flat, cum int64, lineContents string, function makeWebListInstructions (line 837) | func makeWebListInstructions(srcIndent int, assembly []assemblyInstructi... function getSourceFromFile (line 884) | func getSourceFromFile(file string, reader *sourceReader, fns graph.Node... type sourceReader (line 943) | type sourceReader struct method fileError (line 969) | func (reader *sourceReader) fileError(path string) error { method line (line 974) | func (reader *sourceReader) line(path string, lineno int) (string, boo... function newSourceReader (line 960) | func newSourceReader(searchPath, trimPath string) *sourceReader { function openSourceFile (line 1006) | func openSourceFile(path, searchPath, trim string) (*os.File, error) { function trimPath (line 1036) | func trimPath(path, trimPath, searchPath string) string { function indentation (line 1066) | func indentation(line string) int { function rightPad (line 1087) | func rightPad(s string, n int) string { function canonicalizeFileName (line 1112) | func canonicalizeFileName(fname string) string { FILE: internal/report/source_html.go function AddSourceTemplates (line 22) | func AddSourceTemplates(t *template.Template) { constant weblistPageCSS (line 27) | weblistPageCSS = `