Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Symbolize (0.13 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/symbolz/symbolz.go

    )
    
    var (
    	symbolzRE = regexp.MustCompile(`(0x[[:xdigit:]]+)\s+(.*)`)
    )
    
    // Symbolize symbolizes profile p by parsing data returned by a symbolz
    // handler. syms receives the symbolz query (hex addresses separated by '+')
    // and returns the symbolz output in a string. If force is false, it will only
    // symbolize locations from mappings not already marked as HasFunctions. Never
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:18:01 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    )
    
    // Symbolizer implements the plugin.Symbolize interface.
    type Symbolizer struct {
    	Obj       plugin.ObjTool
    	UI        plugin.UI
    	Transport http.RoundTripper
    }
    
    // test taps for dependency injection
    var symbolzSymbolize = symbolz.Symbolize
    var localSymbolize = doLocalSymbolize
    var demangleFunction = Demangle
    
    // Symbolize attempts to symbolize profile p. First uses binutils on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    // interface to the internal interface.
    type internalSymbolizer struct {
    	Symbolizer
    }
    
    func (s *internalSymbolizer) Symbolize(mode string, srcs plugin.MappingSources, prof *profile.Profile) error {
    	isrcs := MappingSources{}
    	for m, s := range srcs {
    		isrcs[m] = s
    	}
    	return s.Symbolizer.Symbolize(mode, isrcs, prof)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    )
    
    type source struct {
    	Sources   []string
    	ExecName  string
    	BuildID   string
    	Base      []string
    	DiffBase  bool
    	Normalize bool
    
    	Seconds            int
    	Timeout            int
    	Symbolize          string
    	HTTPHostport       string
    	HTTPDisableBrowser bool
    	Comment            string
    }
    
    // parseFlags parses the command lines through the specified flags package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/runtime/pprof/testdata/mappingtest/main.go

    import "C"
    
    import (
    	"log"
    	"os"
    	"runtime"
    	"runtime/pprof"
    	"time"
    	"unsafe"
    )
    
    func init() {
    	if v := os.Getenv("SETCGOTRACEBACK"); v == "1" {
    		// Collect some PCs from C-side, but don't symbolize.
    		runtime.SetCgoTraceback(0, unsafe.Pointer(C.CollectCgoTraceback), nil, nil)
    	}
    }
    
    func main() {
    	go cpuHogGoFunction()
    	go cpuHogCFunction()
    	runtime.Gosched()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 08 02:40:04 UTC 2019
    - 2K bytes
    - Viewed (0)
  6. src/runtime/pprof/proto_test.go

    					continue
    				}
    			}
    
    			if traceback == "Go+C" {
    				// The test code was arranged to have PCs from C and
    				// they are not symbolized.
    				// Check no Location containing those unsymbolized PCs contains multiple lines.
    				for i, loc := range prof.Location {
    					if !symbolized(loc) && len(loc.Line) > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    			}
    		}
    		pbase.Scale(-1)
    		p, m, err = combineProfiles([]*profile.Profile{p, pbase}, []plugin.MappingSources{m, mbase})
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	// Symbolize the merged profile.
    	if err := o.Sym.Symbolize(s.Symbolize, m, p); err != nil {
    		return nil, err
    	}
    	p.RemoveUninteresting()
    	unsourceMappings(p)
    
    	if s.Comment != "" {
    		p.Comments = append(p.Comments, s.Comment)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/runtime/print.go

    			markbuf[0] = mark(p + i)
    			if markbuf[0] == 0 {
    				markbuf[0] = ' '
    			}
    		}
    		gwrite(markbuf[:])
    		val := *(*uintptr)(unsafe.Pointer(p + i))
    		print(hex(val))
    		print(" ")
    
    		// Can we symbolize val?
    		fn := findfunc(val)
    		if fn.valid() {
    			print("<", funcname(fn), "+", hex(val-fn.entry()), "> ")
    		}
    	}
    	minhexdigits = 0
    	println()
    	printunlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    // error.
    type Fetcher interface {
    	Fetch(src string, duration, timeout time.Duration) (*profile.Profile, string, error)
    }
    
    // A Symbolizer introduces symbol information into a profile.
    type Symbolizer interface {
    	Symbolize(mode string, srcs MappingSources, prof *profile.Profile) error
    }
    
    // MappingSources map each profile.Mapping to the source of the profile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    			name, path = ct[0], ct[1]
    		}
    		paths[name] = append(paths[name], path)
    	}
    
    	defaultPath := paths[""]
    	b.llvmSymbolizer, b.llvmSymbolizerFound = chooseExe([]string{"llvm-symbolizer"}, []string{}, append(paths["llvm-symbolizer"], defaultPath...))
    	b.addr2line, b.addr2lineFound = chooseExe([]string{"addr2line"}, []string{"gaddr2line"}, append(paths["addr2line"], defaultPath...))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top