Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for Atack (0.04 sec)

  1. src/runtime/pprof/protomem.go

    	}
    
    	values := []int64{0, 0, 0, 0}
    	var locs []uint64
    	for _, r := range p {
    		hideRuntime := true
    		for tries := 0; tries < 2; tries++ {
    			stk := r.Stack
    			// For heap profiles, all stack
    			// addresses are return PCs, which is
    			// what appendLocsForStack expects.
    			if hideRuntime {
    				for i, addr := range stk {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    		cfg.CallTree = true
    		cfg.Trim = false
    		cfg.Granularity = "filefunctions"
    	})
    	if rpt == nil {
    		return // error already reported
    	}
    
    	// Make stack data and generate corresponding JSON.
    	stacks := rpt.Stacks()
    	b, err := json.Marshal(stacks)
    	if err != nil {
    		http.Error(w, "error serializing stacks for flame graph",
    			http.StatusInternalServerError)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/runtime/debug/example_monitor_test.go

    	//
    	// To observe the monitor in action, replace the entire text
    	// of this comment with "Output:" and run this command:
    	//
    	//    $ go test -run=ExampleSetCrashOutput_monitor runtime/debug
    	//    panic: oops
    	//    ...stack...
    	//    monitor: saved crash report at /tmp/10804884239807998216.crash
    }
    
    // appmain represents the 'main' function of your application.
    func appmain() {
    	monitor()
    
    	// Run the application.
    	println("hello")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/runtime/rand.go

    		// so we don't need to use mp.locks
    		// on the fast path, which is that the
    		// first attempt succeeds.
    		x, ok := c.Next()
    		if ok {
    			return x
    		}
    		mp.locks++ // hold m even though c.Refill may do stack split checks
    		c.Refill()
    		mp.locks--
    	}
    }
    
    // mrandinit initializes the random state of an m.
    func mrandinit(mp *m) {
    	var seed [4]uint64
    	for i := range seed {
    		seed[i] = bootstrapRand()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/runtime/coro.go

    // and then blocks the current goroutine on c.
    func coroswitch(c *coro) {
    	gp := getg()
    	gp.coroarg = c
    	mcall(coroswitch_m)
    }
    
    // coroswitch_m is the implementation of coroswitch
    // that runs on the m stack.
    //
    // Note: Coroutine switches are expected to happen at
    // an order of magnitude (or more) higher frequency
    // than regular goroutine switches, so this path is heavily
    // optimized to remove unnecessary work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    	// is in general a list of positions representing a call stack,
    	// with the leaf function first.
    	SourceLine(addr uint64) ([]Frame, error)
    
    	// Symbols returns a list of symbols in the object file.
    	// If r is not nil, Symbols restricts the list to symbols
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/cmd/trace/goroutinegen.go

    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from.Executing() && !to.Executing() {
    		if to == trace.GoWaiting {
    			// Goroutine started blocking.
    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    			gs.stop(ev.Time(), ev.Stack(), ctx)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/runtime/debug.go

    //
    // This must be deeply nosplit because it is called from a function
    // prologue before the stack is set up and because the compiler will
    // call it from any splittable prologue (leading to infinite
    // recursion).
    //
    // Ideally it should also use very little stack because the linker
    // doesn't currently account for this in nosplit stack depth checking.
    //
    // Ensure mayMoreStackPreempt can be called for all ABIs.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/runtime/trace_cgo_test.go

    			if wantEvent := logs[category]; wantEvent == nil {
    				logs[category] = &event
    			} else if got, want := dumpStackV2(&event), dumpStackV2(wantEvent); got != want {
    				t.Errorf("%q: got stack:\n%s\nwant stack:\n%s\n", category, got, want)
    			}
    		}
    	}
    }
    
    func mustFindLogV2(t *testing.T, trc io.Reader, category string) trace.Event {
    	r, err := trace.NewReader(trc)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/internal/trace/event/event.go

    	Args []string
    
    	// StringIDs indicates which of the arguments are string IDs.
    	StringIDs []int
    
    	// StackIDs indicates which of the arguments are stack IDs.
    	//
    	// The list is not sorted. The first index always refers to
    	// the main stack for the current execution context of the event.
    	StackIDs []int
    
    	// StartEv indicates the event type of the corresponding "start"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top