Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Symbolize (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    // parameterized with a flag implementation, fetch and symbolize
    // mechanisms.
    package driver
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strings"
    
    	"github.com/google/pprof/internal/plugin"
    	"github.com/google/pprof/internal/report"
    	"github.com/google/pprof/profile"
    )
    
    // PProf acquires a profile, and symbolizes it using a profile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/runtime/race.go

    				// take an outermost wrapper over nothing.
    				continue
    			}
    
    			name := sf.name()
    			file, line := u.fileLine(uf)
    			if line == 0 {
    				// Failure to symbolize
    				continue
    			}
    			ctx.fn = &bytes(name)[0] // assume NUL-terminated
    			ctx.line = uintptr(line)
    			ctx.file = &bytes(file)[0] // assume NUL-terminated
    			ctx.off = pc - fi.entry()
    			ctx.res = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	// Strips C++ namespace prefix from a C++ function / method name.
    	// NOTE: Make sure to keep the template parameters in the name. Normally,
    	// template parameters are stripped from the C++ names but when
    	// -symbolize=demangle=templates flag is used, they will not be.
    	// See tests for examples.
    	cppRegExp                = regexp.MustCompile(`^(?:[_a-zA-Z]\w*::)+(_*[A-Z]\w*::~?[_a-zA-Z]\w*(?:<.*>)?)`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. src/runtime/traceback.go

    // number of the structs that the functions expect to receive.
    // Currently this must be zero.
    //
    // The symbolizer function may be nil, in which case the results of
    // the traceback function will be displayed as numbers. If the
    // traceback function is nil, the symbolizer function will never be
    // called. The context function may be nil, in which case the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/modules.txt

    github.com/google/pprof/internal/elfexec
    github.com/google/pprof/internal/graph
    github.com/google/pprof/internal/measurement
    github.com/google/pprof/internal/plugin
    github.com/google/pprof/internal/report
    github.com/google/pprof/internal/symbolizer
    github.com/google/pprof/internal/symbolz
    github.com/google/pprof/internal/transport
    github.com/google/pprof/profile
    github.com/google/pprof/third_party/svgpan
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top