Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for IntelSyntax (0.13 sec)

  1. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    		ps := plugin.Sym(*s)
    		pluginSyms = append(pluginSyms, &ps)
    	}
    	return pluginSyms, nil
    }
    
    func (o *internalObjTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]plugin.Inst, error) {
    	insts, err := o.ObjTool.Disasm(file, start, end, intelSyntax)
    	if err != nil {
    		return nil, err
    	}
    	var pluginInst []plugin.Inst
    	for _, inst := range insts {
    		pluginInst = append(pluginInst, plugin.Inst(inst))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		SampleMeanDivisor: meanDiv,
    		SampleType:        stype,
    		SampleUnit:        sample.Unit,
    
    		OutputUnit: cfg.Unit,
    
    		SourcePath: cfg.SourcePath,
    		TrimPath:   cfg.TrimPath,
    
    		IntelSyntax: cfg.IntelSyntax,
    	}
    
    	if len(p.Mapping) > 0 && p.Mapping[0].File != "" {
    		ropt.Title = filepath.Base(p.Mapping[0].File)
    	}
    
    	return ropt, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/pprof/pprof.go

    	// No C++, nothing to demangle.
    	return make(map[string]string), nil
    }
    
    func (t *objTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]driver.Inst, error) {
    	if intelSyntax {
    		return nil, fmt.Errorf("printing assembly in Intel syntax is not supported")
    	}
    	d, err := t.cachedDisasm(file)
    	if err != nil {
    		return nil, err
    	}
    	var asm []driver.Inst
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/x86/x86asm/intel.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x86asm
    
    import (
    	"fmt"
    	"strings"
    )
    
    // IntelSyntax returns the Intel assembler syntax for the instruction, as defined by Intel's XED tool.
    func IntelSyntax(inst Inst, pc uint64, symname SymLookup) string {
    	if symname == nil {
    		symname = func(uint64) (string, uint64) { return "", 0 }
    	}
    
    	var iargs []Arg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 11.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    	Unit                string  `json:"unit,omitempty"`
    	CompactLabels       bool    `json:"compact_labels,omitempty"`
    	SourcePath          string  `json:"-"`
    	TrimPath            string  `json:"-"`
    	IntelSyntax         bool    `json:"intel_syntax,omitempty"`
    	Mean                bool    `json:"mean,omitempty"`
    	SampleIndex         string  `json:"-"`
    	DivideBy            float64 `json:"-"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// Disasm disassembles the named object file, starting at
    	// the start address and stopping at (before) the end address.
    	Disasm(file string, start, end uint64, intelSyntax bool) ([]Inst, error)
    }
    
    // An Inst is a single instruction in an assembly listing.
    type Inst struct {
    	Addr     uint64 // virtual address of instruction
    	Text     string // instruction text
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    func (bu *Binutils) Disasm(file string, start, end uint64, intelSyntax bool) ([]plugin.Inst, error) {
    	b := bu.get()
    	if !b.objdumpFound {
    		return nil, errors.New("cannot disasm: no objdump tool available")
    	}
    	args := []string{"--disassemble", "--demangle", "--no-show-raw-insn",
    		"--line-numbers", fmt.Sprintf("--start-address=%#x", start),
    		fmt.Sprintf("--stop-address=%#x", end)}
    
    	if intelSyntax {
    		if b.isLLVMObjdump {
    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/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	Symbol     *regexp.Regexp // Symbols to include on disassembly report.
    	SourcePath string         // Search path for source files.
    	TrimPath   string         // Paths to trim from source file paths.
    
    	IntelSyntax bool // Whether or not to print assembly in Intel syntax.
    }
    
    // Generate generates a report as directed by the Report.
    func Generate(w io.Writer, rpt *Report, obj plugin.ObjTool) error {
    	o := rpt.options
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			continue
    		}
    		base := r.begin - objBegin
    		insts, err := sp.objectTool.Disasm(r.mapping.File, objBegin, objEnd, rpt.options.IntelSyntax)
    		if err != nil {
    			// TODO(sanjay): Report that the covered addresses are missing.
    			continue
    		}
    
    		var lastFrames []plugin.Frame
    		var lastAddr, maxAddr uint64
    		for i, inst := range insts {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top