Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for symbolization (0.2 sec)

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

    				continue
    			}
    			s.UI.PrintErr("ignoring unrecognized symbolization option: " + mode)
    			s.UI.PrintErr("expecting -symbolize=[local|fastlocal|remote|none][:force][:demangle=[none|full|templates|default]")
    		}
    	}
    
    	var err error
    	if local {
    		// Symbolize locally using binutils.
    		if err = localSymbolize(p, fast, force, s.Obj, s.UI); err != nil {
    			s.UI.PrintErr("local symbolization: " + err.Error())
    		}
    	}
    	if remote {
    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/cli.go

    	"      none                  Do not attempt symbolization\n" +
    	"      local                 Examine only local binaries\n" +
    	"      fastlocal             Only get function names from local binaries\n" +
    	"      remote                Do not examine local binaries\n" +
    	"      force                 Force re-symbolization\n" +
    	"    Binary                  Local path or build id of binary for symbolization\n"
    
    var usageMsgVars = "\n\n" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/cpu-profile.go

    			// to represent common failure cases. Look for those functions in
    			// the leaf position as a sign that the call stack and its
    			// symbolization are more complex than this test can handle.
    			//
    			// TODO: Make the symbolization done by the execution tracer and CPU
    			// profiler match up even in these harder cases. See #53378.
    			switch leaf {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    		if key == "" {
    			// If there is no build id or source file, use the source as the
    			// mapping file. This will enable remote symbolization for this
    			// mapping, in particular for Go profiles on the legacy format.
    			// The source is reset back to empty string by unsourceMapping
    			// which is called after symbolization is finished.
    			m.File = source
    			key = source
    		}
    		ms[key] = append(ms[key], src)
    	}
    	return ms
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/stacks.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests stack symbolization.
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"time"
    )
    
    func main() {
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/symbolz/symbolz.go

    // 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
    // attempts symbolization of addresses from unsymbolizable system
    // mappings as those may look negative - e.g. "[vsyscall]".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:18:01 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go

    	rw       lineReaderWriter
    	base     uint64
    }
    
    type llvmSymbolizerJob struct {
    	cmd *exec.Cmd
    	in  io.WriteCloser
    	out *bufio.Reader
    	// llvm-symbolizer requires the symbol type, CODE or DATA, for symbolization.
    	symType string
    }
    
    func (a *llvmSymbolizerJob) write(s string) error {
    	_, err := fmt.Fprintln(a.in, a.symType, s)
    	return err
    }
    
    func (a *llvmSymbolizerJob) readLine() (string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/runtime/pprof/proto.go

    	funcs symbolizeFlag
    	fake  bool // map entry was faked; /proc/self/maps wasn't available
    }
    
    // symbolizeFlag keeps track of symbolization result.
    //
    //	0                  : no symbol lookup was performed
    //	1<<0 (lookupTried) : symbol lookup was performed
    //	1<<1 (lookupFailed): symbol lookup was performed but failed
    type symbolizeFlag uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. src/runtime/pprof/proto_test.go

    			}
    
    			for _, m := range prof.Mapping {
    				if miss[m] && m.HasFunctions {
    					t.Errorf("mapping %+v has HasFunctions=true, but contains locations with failed symbolization", m)
    					continue
    				}
    				if !miss[m] && hit[m] && !m.HasFunctions {
    					t.Errorf("mapping %+v has HasFunctions=false, but all referenced locations from this lapping were symbolized successfully", m)
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	addr2line           string
    	addr2lineFound      bool
    	nm                  string
    	nmFound             bool
    	objdump             string
    	objdumpFound        bool
    	isLLVMObjdump       bool
    
    	// if fast, perform symbolization using nm (symbol names only),
    	// instead of file-line detail from the slower addr2line.
    	fast bool
    }
    
    // get returns the current representation for bu, initializing it if necessary.
    func (bu *Binutils) get() *binrep {
    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