Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    }
    
    // HasFunctions determines if all locations in this profile have
    // symbolized function information.
    func (p *Profile) HasFunctions() bool {
    	for _, l := range p.Location {
    		if l.Mapping != nil && !l.Mapping.HasFunctions {
    			return false
    		}
    	}
    	return true
    }
    
    // HasFileLines determines if all locations in this profile have
    // symbolized file and line number information.
    func (p *Profile) HasFileLines() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. src/runtime/crash_cgo_test.go

    	default:
    		t.Skipf("not yet supported on %s", platform)
    	}
    	got := runTestProg(t, "testprogcgo", "CrashTraceback")
    	for i := 1; i <= 3; i++ {
    		if !strings.Contains(got, fmt.Sprintf("cgo symbolizer:%d", i)) {
    			t.Errorf("missing cgo symbolizer:%d", i)
    		}
    	}
    }
    
    func TestCgoCrashTracebackGo(t *testing.T) {
    	t.Parallel()
    	switch platform := runtime.GOOS + "/" + runtime.GOARCH; platform {
    	case "darwin/amd64":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

      }
    }
    
    void CopyStablehloModuleAttrs(ModuleOp stablehlo_module, XlaCallModuleOp op) {
      op->setAttr(kStablehloModuleAttrsAttrName,
                  stablehlo_module->getAttrDictionary());
    }
    
    // Symbolizes `called_index` attributes in custom all ops to `called_func`.
    LogicalResult SymbolizeCustomCallCalledIndex(
        ModuleOp module, llvm::ArrayRef<SymbolRefAttr> function_list) {
      WalkResult result =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/runtime/tracestack.go

    		// produce incomplete results or crashes (hasCgoOnStack). Note that no
    		// cgo callback related crashes have been observed yet. The main
    		// motivation is to take advantage of a potentially registered cgo
    		// symbolizer.
    		pcBuf[0] = logicalStackSentinel
    		if getg() == gp {
    			nstk += callers(skip+1, pcBuf[1:])
    		} else if gp != nil {
    			nstk += gcallers(gp, skip, pcBuf[1:])
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top