Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for tramps (0.76 sec)

  1. src/internal/trace/event.go

    //
    // If two Stacks are equal then their Frames are guaranteed to be identical. If they are not
    // equal, however, their Frames may still be equal.
    type Stack struct {
    	table *evTable
    	id    stackID
    }
    
    // Frames is an iterator over the frames in a Stack.
    func (s Stack) Frames(yield func(f StackFrame) bool) bool {
    	if s.id == 0 {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. src/runtime/extern.go

    The failure prints stack traces for all goroutines if there is no current goroutine
    or the failure is internal to the run-time.
    GOTRACEBACK=none omits the goroutine stack traces entirely.
    GOTRACEBACK=single (the default) behaves as described above.
    GOTRACEBACK=all adds stack traces for all user-created goroutines.
    GOTRACEBACK=system is like “all” but adds stack frames for run-time functions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/internal/trace/internal/oldtrace/parser.go

    // Package oldtrace implements a parser for Go execution traces from versions
    // 1.11–1.21.
    //
    // The package started as a copy of Go 1.19's internal/trace, but has been
    // optimized to be faster while using less memory and fewer allocations. It has
    // been further modified for the specific purpose of converting traces to the
    // new 1.22+ format.
    package oldtrace
    
    import (
    	"bytes"
    	"cmp"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  4. src/runtime/tracestack.go

    // pcBuf and dst should not overlap.
    //
    // fpunwindExpand checks if pcBuf contains logical frames (which include inlined
    // frames) or physical frames (produced by frame pointer unwinding) using a
    // sentinel value in pcBuf[0]. Logical frames are simply returned without the
    // sentinel. Physical frames are turned into logical frames via inline unwinding
    // and by applying the skip value that's stored in pcBuf[0].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/runtime/symtab.go

    	switch len(ci.frames) {
    	case 0: // In the rare case when there are no frames at all, we return Frame{}.
    		return
    	case 1:
    		frame = ci.frames[0]
    		ci.frames = ci.frameStore[:0]
    	case 2:
    		frame = ci.frames[0]
    		ci.frameStore[0] = ci.frames[1]
    		ci.frames = ci.frameStore[:1]
    	default:
    		frame = ci.frames[0]
    		ci.frames = ci.frames[1:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. src/internal/trace/generation.go

    			}
    			frames = append(frames, pc)
    
    			if _, ok := pcs[pc]; !ok {
    				pcs[pc] = frame{
    					pc:     pc,
    					funcID: stringID(funcID),
    					fileID: stringID(fileID),
    					line:   line,
    				}
    			}
    		}
    
    		// Add the stack to the map.
    		if err := stackTable.insert(stackID(id), stack{pcs: frames}); err != nil {
    			return err
    		}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			})
    		}
    		return stack
    	}
    
    	for _, addr := range unprocessed {
    		frames := makeFrames(addr)
    		x := instructionInfo{
    			objAddr: addr,
    			length:  1,
    			disasm:  synthAsm,
    		}
    		if len(frames) > 0 {
    			x.file = frames[0].File
    			x.line = frames[0].Line
    		}
    		sp.insts[addr] = x
    
    		sp.addStack(addr, frames)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. src/internal/trace/summary.go

    type Summary struct {
    	Goroutines map[GoID]*GoroutineSummary
    	Tasks      map[TaskID]*UserTaskSummary
    }
    
    // GoroutineSummary contains statistics and execution details of a single goroutine.
    // (For v2 traces.)
    type GoroutineSummary struct {
    	ID           GoID
    	Name         string // A non-unique human-friendly identifier for the goroutine.
    	PC           uint64 // The first PC we saw for the entry function of the goroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. src/internal/trace/trace_test.go

    					{"main.main.func11", 0},
    				}},
    			}...)
    		}
    		stackMatches := func(stk trace.Stack, frames []frame) bool {
    			i := 0
    			match := true
    			stk.Frames(func(f trace.StackFrame) bool {
    				if f.Func != frames[i].fn {
    					match = false
    					return false
    				}
    				if line := uint64(frames[i].line); line != 0 && line != f.Line {
    					match = false
    					return false
    				}
    				i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. src/cmd/trace/gstate.go

    	// lastStopStack is the stack trace at the point of the last
    	// call to the stop method. This tends to be a more reliable way
    	// of picking up stack traces, since the parser doesn't provide
    	// a stack for every state transition event.
    	lastStopStack trace.Stack
    
    	// activeRanges is the set of all active ranges on the goroutine.
    	activeRanges map[string]activeRange
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top