Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for filterViewerTrace (0.18 sec)

  1. src/cmd/trace/jsontrace_test.go

    		})
    	}
    }
    
    func checkSyscalls(t *testing.T, data format.Data) {
    	data = filterViewerTrace(data,
    		filterEventName("syscall"),
    		filterStackRootFunc("main.blockingSyscall"))
    	if len(data.Events) <= 1 {
    		t.Errorf("got %d events, want > 1", len(data.Events))
    	}
    	data = filterViewerTrace(data, filterBlocked("yes"))
    	if len(data.Events) != 1 {
    		t.Errorf("got %d events, want 1", len(data.Events))
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top