Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StackIDs (0.19 sec)

  1. src/internal/trace/event/go122/event.go

    		Name:         "GoStop",
    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoBlock: event.Spec{
    		Name:         "GoBlock",
    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoUnblock: event.Spec{
    		Name:         "GoUnblock",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/trace/oldtrace.go

    	default:
    		return Event{}, fmt.Errorf("unexpected event type %v", ev.Type)
    	}
    
    	if oldtrace.EventDescriptions[ev.Type].Stack {
    		if stackIDs := go122.Specs()[mappedType].StackIDs; len(stackIDs) > 0 {
    			mappedArgs[stackIDs[0]-1] = uint64(ev.StkID)
    		}
    	}
    
    	m := NoThread
    	if ev.P != -1 && ev.Type != oldtrace.EvCPUSample {
    		if t, ok := it.procMs[ProcID(ev.P)]; ok {
    			m = ThreadID(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. src/internal/trace/event.go

    	}
    	spec := go122.Specs()[e.base.typ]
    	if len(spec.StackIDs) == 0 {
    		return NoStack
    	}
    	// The stack for the main execution context is always the
    	// first stack listed in StackIDs. Subtract one from this
    	// because we've peeled away the timestamp argument.
    	id := stackID(e.base.args[spec.StackIDs[0]-1])
    	if id == 0 {
    		return NoStack
    	}
    	return Stack{table: e.table, id: id}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top