// Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package testtrace

import (
	
	
)

// MustHaveSyscallEvents skips the current test if the current
// platform does not support true system call events.
func ( *testing.T) {
	if HasSyscallEvents() {
		return
	}
	.Skip("current platform has no true syscall events")
}

// HasSyscallEvents returns true if the current platform
// has real syscall events available.
func () bool {
	switch runtime.GOOS {
	case "js", "wasip1":
		// js and wasip1 emulate system calls by blocking on channels
		// while yielding back to the environment. They never actually
		// call entersyscall/exitsyscall.
		return false
	}
	return true
}