Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EventDescriptions (0.71 sec)

  1. src/internal/trace/internal/oldtrace/parser.go

    	// number of logical arguments that isn't length-prefixed, even though the
    	// value 3 on the wire indicates length-prefixing. For us, that becomes narg
    	// == 4.
    	narg := b>>6 + 1
    	if typ == EvNone || typ >= EvCount || EventDescriptions[typ].minVersion > p.ver {
    		return fmt.Errorf("unknown event type %d", typ)
    	}
    
    	switch typ {
    	case EvString:
    		if flags&skipStrings != 0 {
    			// String dictionary entry [ID, length, string].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/internal/trace/oldtrace.go

    		mappedArgs = timedEventArgs{uint64(ev.StkID), ^uint64(0), uint64(ev.P), ev.G}
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top