ktrace

package
v0.6.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package ktrace provides Go bindings for the ktrace framework.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFunc

func BindFunc(fptr any, name string) (err error)

BindFunc binds the ktrace symbol name into fptr, which must be a pointer to a func variable.

The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.

func SymbolAddress

func SymbolAddress(name string) (uintptr, error)

SymbolAddress returns the address of name in ktrace, whether or not this package generated a binding for it.

What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.

The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.

Types

type AOTImage

type AOTImage struct {
	objectivec.Object
}

Methods

func AOTImageFromID

func AOTImageFromID(id objc.ID) AOTImage

AOTImageFromID constructs a AOTImage from an objc.ID.

func NewAOTImage

func NewAOTImage() AOTImage

NewAOTImage creates a new AOTImage instance.

func (AOTImage) AotLoadAddress

func (a AOTImage) AotLoadAddress() uint64

func (AOTImage) AotSize

func (a AOTImage) AotSize() uint64

func (AOTImage) Autorelease

func (a AOTImage) Autorelease() AOTImage

Autorelease adds the receiver to the current autorelease pool.

func (AOTImage) Init

func (a AOTImage) Init() AOTImage

Init initializes the instance.

func (AOTImage) Key

func (a AOTImage) Key() Aotkey

func (AOTImage) SetAotLoadAddress

func (a AOTImage) SetAotLoadAddress(value uint64)

func (AOTImage) SetAotSize

func (a AOTImage) SetAotSize(value uint64)

func (AOTImage) SetKey

func (a AOTImage) SetKey(value Aotkey)

func (AOTImage) SetX86LoadAddress

func (a AOTImage) SetX86LoadAddress(value uint64)

func (AOTImage) X86LoadAddress

func (a AOTImage) X86LoadAddress() uint64

type AOTImageClass

type AOTImageClass struct {
	// contains filtered or unexported fields
}

func GetAOTImageClass

func GetAOTImageClass() AOTImageClass

GetAOTImageClass returns the class object for AOTImage.

func (AOTImageClass) Alloc

func (ac AOTImageClass) Alloc() AOTImage

Alloc allocates memory for a new instance of the class.

func (AOTImageClass) Class

func (ac AOTImageClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type Aotkey

type Aotkey struct {
	Field1 [32]uint8
}

Aotkey

type CFData

type CFData struct {
}

CFData

type CFDictionary

type CFDictionary struct {
}

CFDictionary

type CFRuntimeBase

type CFRuntimeBase struct {
	Field1 uint64
	Field2 uint64
}

CFRuntimeBase

type Diagnostics

type Diagnostics struct {
	objectivec.Object
}

func DiagnosticsFromID

func DiagnosticsFromID(id objc.ID) Diagnostics

DiagnosticsFromID constructs a Diagnostics from an objc.ID.

func (Diagnostics) Autorelease

func (d Diagnostics) Autorelease() Diagnostics

Autorelease adds the receiver to the current autorelease pool.

type DiagnosticsClass

type DiagnosticsClass struct {
	// contains filtered or unexported fields
}

func GetDiagnosticsClass

func GetDiagnosticsClass() DiagnosticsClass

GetDiagnosticsClass returns the class object for _TtCC6ktrace9Recording11Diagnostics.

func (DiagnosticsClass) Alloc

func (dc DiagnosticsClass) Alloc() Diagnostics

Alloc allocates memory for a new instance of the class.

func (DiagnosticsClass) Class

func (dc DiagnosticsClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IAOTImage

type IAOTImage interface {
	objectivec.IObject

	AotLoadAddress() uint64
	SetAotLoadAddress(value uint64)
	AotSize() uint64
	SetAotSize(value uint64)
	Key() Aotkey
	SetKey(value Aotkey)
	X86LoadAddress() uint64
	SetX86LoadAddress(value uint64)
}

An interface definition for the AOTImage class.

Methods

type IDiagnostics

type IDiagnostics interface {
	objectivec.IObject
}

An interface definition for the Diagnostics class.

type IKtraceCStringArray

type IKtraceCStringArray interface {
	objectivec.IObject
}

An interface definition for the KtraceCStringArray class.

type IKtraceCommandWaiter

type IKtraceCommandWaiter interface {
	objectivec.IObject
}

An interface definition for the KtraceCommandWaiter class.

type IKtraceKernelDisableWaiter

type IKtraceKernelDisableWaiter interface {
	objectivec.IObject
}

An interface definition for the KtraceKernelDisableWaiter class.

type IKtraceLoggingDataSource

type IKtraceLoggingDataSource interface {
	objectivec.IObject

	Set_ktfile(value *KtraceFile)

	Set_metadata(value foundation.NSData)

	Set_nextChunk(value unsafe.Pointer)

	Set_skipFirst(value bool)
	MetadataChunk() objectivec.IObject
	NextEventDataChunk() objectivec.IObject
	InitWithKtraceFile(file *KtraceFile) KtraceLoggingDataSource
	// contains filtered or unexported methods
}

An interface definition for the KtraceLoggingDataSource class.

Methods

type IKtraceProviderList

type IKtraceProviderList interface {
	objectivec.IObject

	ConfigurePostprocessingWithSession(session unsafe.Pointer)
	ConfigureWithSession(session unsafe.Pointer)
	ContainsWithName(name objectivec.IObject) bool
	DidEndTracingWithFile(file unsafe.Pointer)
	DidStartTracingWithFile(file unsafe.Pointer)
	PostprocessingCompleteWithFile(file unsafe.Pointer)
	ShouldStartTracingWithConfigurationError(configuration *KtraceConfig) (bool, error)
	ShouldTargetWithProcessError(process *KtraceTargetProcess) (bool, error)
	WillEndTracingWithFile(file unsafe.Pointer)
	WillFinishWithCatalogFile(catalog unsafe.Pointer, file unsafe.Pointer)
	WillStartTracingWithFile(file unsafe.Pointer)
	InitWithMachine(machine *KtraceMachine) KtraceProviderList
}

An interface definition for the KtraceProviderList class.

Methods

type IKtraceRecordInfo

type IKtraceRecordInfo interface {
	objectivec.IObject
}

An interface definition for the KtraceRecordInfo class.

type IKtraceRecording

type IKtraceRecording interface {
	objectivec.IObject
}

An interface definition for the KtraceRecording class.

type IKtraceReporter

type IKtraceReporter interface {
	objectivec.IObject

	FailWithReason(reason objectivec.IObject)
	InformWithMessage(message objectivec.IObject)
	WarnWithMessage(message objectivec.IObject)
}

An interface definition for the KtraceReporter class.

Methods

type IKtraceWaitGroup

type IKtraceWaitGroup interface {
	objectivec.IObject
}

An interface definition for the KtraceWaitGroup class.

type IKtraceWakeListener

type IKtraceWakeListener interface {
	objectivec.IObject
}

An interface definition for the KtraceWakeListener class.

type ISignalWaiter

type ISignalWaiter interface {
	objectivec.IObject
}

An interface definition for the SignalWaiter class.

type KTProviderLogger

type KTProviderLogger interface {
	objectivec.IObject

	// FailWithReason protocol.
	FailWithReason(reason objectivec.IObject)

	// InformWithMessage protocol.
	InformWithMessage(message objectivec.IObject)

	// WarnWithMessage protocol.
	WarnWithMessage(message objectivec.IObject)
}

KTProviderLogger protocol.

type KTProviderLoggerObject

type KTProviderLoggerObject struct {
	objectivec.Object
}

KTProviderLoggerObject wraps an existing Objective-C object that conforms to the KTProviderLogger protocol.

func KTProviderLoggerObjectFromID

func KTProviderLoggerObjectFromID(id objc.ID) KTProviderLoggerObject

KTProviderLoggerObjectFromID constructs a KTProviderLoggerObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (KTProviderLoggerObject) BaseObject

func (o KTProviderLoggerObject) BaseObject() objectivec.Object

func (KTProviderLoggerObject) FailWithReason

func (o KTProviderLoggerObject) FailWithReason(reason objectivec.IObject)

func (KTProviderLoggerObject) InformWithMessage

func (o KTProviderLoggerObject) InformWithMessage(message objectivec.IObject)

func (KTProviderLoggerObject) WarnWithMessage

func (o KTProviderLoggerObject) WarnWithMessage(message objectivec.IObject)

type KtraceCStringArray

type KtraceCStringArray struct {
	objectivec.Object
}

func KtraceCStringArrayFromID

func KtraceCStringArrayFromID(id objc.ID) KtraceCStringArray

KtraceCStringArrayFromID constructs a KtraceCStringArray from an objc.ID.

func (KtraceCStringArray) Autorelease

func (k KtraceCStringArray) Autorelease() KtraceCStringArray

Autorelease adds the receiver to the current autorelease pool.

type KtraceCStringArrayClass

type KtraceCStringArrayClass struct {
	// contains filtered or unexported fields
}

func GetKtraceCStringArrayClass

func GetKtraceCStringArrayClass() KtraceCStringArrayClass

GetKtraceCStringArrayClass returns the class object for ktrace.CStringArray.

func (KtraceCStringArrayClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceCStringArrayClass) Class

func (kc KtraceCStringArrayClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type KtraceChunk

type KtraceChunk struct {
	Field1  KtraceFileRef
	Field2  uint64
	Field3  [1]uint64
	Field4  uint64
	Field5  uint32
	Field6  uint16
	Field7  uint16
	Field8  KtraceChunkRef
	Field9  KtraceChunkArray
	Field10 [1]uint64
}

KtraceChunk

type KtraceChunkArray

type KtraceChunkArray struct {
	Field1 *KtraceChunkRef
	Field2 KtraceChunkRef
	Field3 uint64
	Field4 uint64
	Field5 uint64
	Field6 int64
	Field7 int64
}

KtraceChunkArray

type KtraceChunkRef

type KtraceChunkRef uintptr

type KtraceCommandWaiter

type KtraceCommandWaiter struct {
	objectivec.Object
}

func KtraceCommandWaiterFromID

func KtraceCommandWaiterFromID(id objc.ID) KtraceCommandWaiter

KtraceCommandWaiterFromID constructs a KtraceCommandWaiter from an objc.ID.

func (KtraceCommandWaiter) Autorelease

func (k KtraceCommandWaiter) Autorelease() KtraceCommandWaiter

Autorelease adds the receiver to the current autorelease pool.

type KtraceCommandWaiterClass

type KtraceCommandWaiterClass struct {
	// contains filtered or unexported fields
}

func GetKtraceCommandWaiterClass

func GetKtraceCommandWaiterClass() KtraceCommandWaiterClass

GetKtraceCommandWaiterClass returns the class object for ktrace.CommandWaiter.

func (KtraceCommandWaiterClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceCommandWaiterClass) Class

func (kc KtraceCommandWaiterClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type KtraceConfig

type KtraceConfig struct {
	Field1  *byte
	Field2  *byte
	Field3  *byte
	Field4  [7]uint64
	Field5  [14]uint64
	Field6  [7]uint64
	Field7  int32
	Field8  uint32
	Field9  uint32
	Field10 uint32
	Field11 uint64
	Field12 uint32
}

KtraceConfig

type KtraceFile

type KtraceFile struct {
	Field1  CFRuntimeBase
	Field2  int32
	Field3  int32
	Field4  KtraceChunkArray
	Field5  KtraceChunkArray
	Field6  KtraceChunkRef
	Field7  KtraceChunkRef
	Field8  KtraceChunkRef
	Field9  uint64
	Field10 uint64
	Field11 uint32
	Field12 kernel.Timezone
	Field13 [2]uint32
	Field14 int32
	Field15 KtraceFileRef
	Field16 corefoundation.CFDictionaryRef
	Field17 uint32
	Field18 corefoundation.CFDictionaryRef
	Field19 KtraceChunkRef
	Field20 *byte
	Field21 uint64
	Field22 func()
	Field23 func()
	Field24 func()
	Field25 int64
	Field26 int64
	Field27 bool
	Field28 bool
	Field29 bool
	Field30 bool
	Field31 bool
	Field32 bool
}

KtraceFile

type KtraceFileRef

type KtraceFileRef uintptr

type KtraceKernelDisableWaiter

type KtraceKernelDisableWaiter struct {
	objectivec.Object
}

func KtraceKernelDisableWaiterFromID

func KtraceKernelDisableWaiterFromID(id objc.ID) KtraceKernelDisableWaiter

KtraceKernelDisableWaiterFromID constructs a KtraceKernelDisableWaiter from an objc.ID.

func (KtraceKernelDisableWaiter) Autorelease

Autorelease adds the receiver to the current autorelease pool.

type KtraceKernelDisableWaiterClass

type KtraceKernelDisableWaiterClass struct {
	// contains filtered or unexported fields
}

func GetKtraceKernelDisableWaiterClass

func GetKtraceKernelDisableWaiterClass() KtraceKernelDisableWaiterClass

GetKtraceKernelDisableWaiterClass returns the class object for ktrace.KernelDisableWaiter.

func (KtraceKernelDisableWaiterClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceKernelDisableWaiterClass) Class

Class returns the underlying Objective-C class pointer.

type KtraceLoggingDataSource

type KtraceLoggingDataSource struct {
	objectivec.Object
}

Methods

func KtraceLoggingDataSourceFromID

func KtraceLoggingDataSourceFromID(id objc.ID) KtraceLoggingDataSource

KtraceLoggingDataSourceFromID constructs a KtraceLoggingDataSource from an objc.ID.

func NewKtraceLoggingDataSource

func NewKtraceLoggingDataSource() KtraceLoggingDataSource

NewKtraceLoggingDataSource creates a new KtraceLoggingDataSource instance.

func NewKtraceLoggingDataSourceWithKtraceFile

func NewKtraceLoggingDataSourceWithKtraceFile(file *KtraceFile) KtraceLoggingDataSource

func (KtraceLoggingDataSource) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (KtraceLoggingDataSource) CanKtfile

func (k KtraceLoggingDataSource) CanKtfile() bool

CanKtfile reports whether the receiver responds to the private selector _ktfile.

func (KtraceLoggingDataSource) CanMetadata

func (k KtraceLoggingDataSource) CanMetadata() bool

CanMetadata reports whether the receiver responds to the private selector _metadata.

func (KtraceLoggingDataSource) CanNextChunk

func (k KtraceLoggingDataSource) CanNextChunk() bool

CanNextChunk reports whether the receiver responds to the private selector _nextChunk.

func (KtraceLoggingDataSource) CanSkipFirst

func (k KtraceLoggingDataSource) CanSkipFirst() bool

CanSkipFirst reports whether the receiver responds to the private selector _skipFirst.

func (KtraceLoggingDataSource) Init

Init initializes the instance.

func (KtraceLoggingDataSource) InitWithKtraceFile

func (k KtraceLoggingDataSource) InitWithKtraceFile(file *KtraceFile) KtraceLoggingDataSource

func (KtraceLoggingDataSource) Ktfile

func (k KtraceLoggingDataSource) Ktfile() (*KtraceFile, error)

Ktfile is an exported wrapper for the private property _ktfile.

func (KtraceLoggingDataSource) Metadata

Metadata is an exported wrapper for the private property _metadata.

func (KtraceLoggingDataSource) MetadataChunk

func (k KtraceLoggingDataSource) MetadataChunk() objectivec.IObject

func (KtraceLoggingDataSource) NextChunk

func (k KtraceLoggingDataSource) NextChunk() (unsafe.Pointer, error)

NextChunk is an exported wrapper for the private property _nextChunk.

func (KtraceLoggingDataSource) NextEventDataChunk

func (k KtraceLoggingDataSource) NextEventDataChunk() objectivec.IObject

func (KtraceLoggingDataSource) Set_ktfile

func (k KtraceLoggingDataSource) Set_ktfile(value *KtraceFile)

func (KtraceLoggingDataSource) Set_metadata

func (k KtraceLoggingDataSource) Set_metadata(value foundation.NSData)

func (KtraceLoggingDataSource) Set_nextChunk

func (k KtraceLoggingDataSource) Set_nextChunk(value unsafe.Pointer)

func (KtraceLoggingDataSource) Set_skipFirst

func (k KtraceLoggingDataSource) Set_skipFirst(value bool)

func (KtraceLoggingDataSource) SkipFirst

func (k KtraceLoggingDataSource) SkipFirst() (bool, error)

SkipFirst is an exported wrapper for the private property _skipFirst.

type KtraceLoggingDataSourceClass

type KtraceLoggingDataSourceClass struct {
	// contains filtered or unexported fields
}

func GetKtraceLoggingDataSourceClass

func GetKtraceLoggingDataSourceClass() KtraceLoggingDataSourceClass

GetKtraceLoggingDataSourceClass returns the class object for KtraceLoggingDataSource.

func (KtraceLoggingDataSourceClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceLoggingDataSourceClass) Class

Class returns the underlying Objective-C class pointer.

type KtraceMachine

type KtraceMachine struct {
	Field1  uint64
	Field2  uint64
	Field3  uint64
	Field4  uint64
	Field5  uint64
	Field6  *byte
	Field7  *byte
	Field8  *byte
	Field9  *byte
	Field10 *byte
	Field11 *byte
	Field12 *byte
	Field13 *byte
	Field14 *byte
	Field15 *byte
	Field16 *byte
	Field17 *byte
	Field18 *uint32
	Field19 *uint64
	Field20 *uint32
	Field21 *uint32
	Field22 uint32
	Field23 uint32
	Field24 uint32
	Field25 uint32
	Field26 uint32
	Field27 uint32
	Field28 uint32
	Field29 uint32
	Field30 int32
	Field31 int32
	Field32 int32
	Field33 bool
	Field34 bool
	Field35 bool
	Field36 bool
	Field37 bool
	Field38 uint32
	Field39 corefoundation.CFDictionaryRef
}

KtraceMachine

type KtraceProviderList

type KtraceProviderList struct {
	objectivec.Object
}

Methods

func KtraceProviderListFromID

func KtraceProviderListFromID(id objc.ID) KtraceProviderList

KtraceProviderListFromID constructs a KtraceProviderList from an objc.ID.

func NewKtraceProviderList

func NewKtraceProviderList() KtraceProviderList

NewKtraceProviderList creates a new KtraceProviderList instance.

func NewKtraceProviderListWithMachine

func NewKtraceProviderListWithMachine(machine *KtraceMachine) KtraceProviderList

func (KtraceProviderList) Autorelease

func (k KtraceProviderList) Autorelease() KtraceProviderList

Autorelease adds the receiver to the current autorelease pool.

func (KtraceProviderList) ConfigurePostprocessingWithSession

func (k KtraceProviderList) ConfigurePostprocessingWithSession(session unsafe.Pointer)

func (KtraceProviderList) ConfigureWithSession

func (k KtraceProviderList) ConfigureWithSession(session unsafe.Pointer)

func (KtraceProviderList) ContainsWithName

func (k KtraceProviderList) ContainsWithName(name objectivec.IObject) bool

func (KtraceProviderList) DidEndTracingWithFile

func (k KtraceProviderList) DidEndTracingWithFile(file unsafe.Pointer)

func (KtraceProviderList) DidStartTracingWithFile

func (k KtraceProviderList) DidStartTracingWithFile(file unsafe.Pointer)

func (KtraceProviderList) Init

Init initializes the instance.

func (KtraceProviderList) InitWithMachine

func (k KtraceProviderList) InitWithMachine(machine *KtraceMachine) KtraceProviderList

func (KtraceProviderList) PostprocessingCompleteWithFile

func (k KtraceProviderList) PostprocessingCompleteWithFile(file unsafe.Pointer)

func (KtraceProviderList) ShouldStartTracingWithConfigurationError

func (k KtraceProviderList) ShouldStartTracingWithConfigurationError(configuration *KtraceConfig) (bool, error)

func (KtraceProviderList) ShouldTargetWithProcessError

func (k KtraceProviderList) ShouldTargetWithProcessError(process *KtraceTargetProcess) (bool, error)

func (KtraceProviderList) WillEndTracingWithFile

func (k KtraceProviderList) WillEndTracingWithFile(file unsafe.Pointer)

func (KtraceProviderList) WillFinishWithCatalogFile

func (k KtraceProviderList) WillFinishWithCatalogFile(catalog unsafe.Pointer, file unsafe.Pointer)

func (KtraceProviderList) WillStartTracingWithFile

func (k KtraceProviderList) WillStartTracingWithFile(file unsafe.Pointer)

type KtraceProviderListClass

type KtraceProviderListClass struct {
	// contains filtered or unexported fields
}

func GetKtraceProviderListClass

func GetKtraceProviderListClass() KtraceProviderListClass

GetKtraceProviderListClass returns the class object for ktrace.ProviderList.

func (KtraceProviderListClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceProviderListClass) Class

func (kc KtraceProviderListClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type KtraceRecordInfo

type KtraceRecordInfo struct {
	objectivec.Object
}

func KtraceRecordInfoFromID

func KtraceRecordInfoFromID(id objc.ID) KtraceRecordInfo

KtraceRecordInfoFromID constructs a KtraceRecordInfo from an objc.ID.

func (KtraceRecordInfo) Autorelease

func (k KtraceRecordInfo) Autorelease() KtraceRecordInfo

Autorelease adds the receiver to the current autorelease pool.

type KtraceRecordInfoClass

type KtraceRecordInfoClass struct {
	// contains filtered or unexported fields
}

func GetKtraceRecordInfoClass

func GetKtraceRecordInfoClass() KtraceRecordInfoClass

GetKtraceRecordInfoClass returns the class object for ktrace.RecordInfo.

func (KtraceRecordInfoClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceRecordInfoClass) Class

func (kc KtraceRecordInfoClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type KtraceRecording

type KtraceRecording struct {
	objectivec.Object
}

func KtraceRecordingFromID

func KtraceRecordingFromID(id objc.ID) KtraceRecording

KtraceRecordingFromID constructs a KtraceRecording from an objc.ID.

func (KtraceRecording) Autorelease

func (k KtraceRecording) Autorelease() KtraceRecording

Autorelease adds the receiver to the current autorelease pool.

type KtraceRecordingClass

type KtraceRecordingClass struct {
	// contains filtered or unexported fields
}

func GetKtraceRecordingClass

func GetKtraceRecordingClass() KtraceRecordingClass

GetKtraceRecordingClass returns the class object for ktrace.Recording.

func (KtraceRecordingClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceRecordingClass) Class

func (kc KtraceRecordingClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type KtraceReporter

type KtraceReporter struct {
	objectivec.Object
}

Methods

func KtraceReporterFromID

func KtraceReporterFromID(id objc.ID) KtraceReporter

KtraceReporterFromID constructs a KtraceReporter from an objc.ID.

func (KtraceReporter) Autorelease

func (k KtraceReporter) Autorelease() KtraceReporter

Autorelease adds the receiver to the current autorelease pool.

func (KtraceReporter) FailWithReason

func (k KtraceReporter) FailWithReason(reason objectivec.IObject)

func (KtraceReporter) InformWithMessage

func (k KtraceReporter) InformWithMessage(message objectivec.IObject)

func (KtraceReporter) WarnWithMessage

func (k KtraceReporter) WarnWithMessage(message objectivec.IObject)

type KtraceReporterClass

type KtraceReporterClass struct {
	// contains filtered or unexported fields
}

func GetKtraceReporterClass

func GetKtraceReporterClass() KtraceReporterClass

GetKtraceReporterClass returns the class object for ktrace.Reporter.

func (KtraceReporterClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceReporterClass) Class

func (kc KtraceReporterClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type KtraceTargetProcess

type KtraceTargetProcess struct {
	Field1 int32
}

KtraceTargetProcess

type KtraceWaitGroup

type KtraceWaitGroup struct {
	objectivec.Object
}

func KtraceWaitGroupFromID

func KtraceWaitGroupFromID(id objc.ID) KtraceWaitGroup

KtraceWaitGroupFromID constructs a KtraceWaitGroup from an objc.ID.

func (KtraceWaitGroup) Autorelease

func (k KtraceWaitGroup) Autorelease() KtraceWaitGroup

Autorelease adds the receiver to the current autorelease pool.

type KtraceWaitGroupClass

type KtraceWaitGroupClass struct {
	// contains filtered or unexported fields
}

func GetKtraceWaitGroupClass

func GetKtraceWaitGroupClass() KtraceWaitGroupClass

GetKtraceWaitGroupClass returns the class object for ktrace.WaitGroup.

func (KtraceWaitGroupClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceWaitGroupClass) Class

func (kc KtraceWaitGroupClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type KtraceWakeListener

type KtraceWakeListener struct {
	objectivec.Object
}

func KtraceWakeListenerFromID

func KtraceWakeListenerFromID(id objc.ID) KtraceWakeListener

KtraceWakeListenerFromID constructs a KtraceWakeListener from an objc.ID.

func (KtraceWakeListener) Autorelease

func (k KtraceWakeListener) Autorelease() KtraceWakeListener

Autorelease adds the receiver to the current autorelease pool.

type KtraceWakeListenerClass

type KtraceWakeListenerClass struct {
	// contains filtered or unexported fields
}

func GetKtraceWakeListenerClass

func GetKtraceWakeListenerClass() KtraceWakeListenerClass

GetKtraceWakeListenerClass returns the class object for ktrace.WakeListener.

func (KtraceWakeListenerClass) Alloc

Alloc allocates memory for a new instance of the class.

func (KtraceWakeListenerClass) Class

func (kc KtraceWakeListenerClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type Ktrace_chunk

type Ktrace_chunk = KtraceChunk

Ktrace_chunk is a type alias for KtraceChunk for use in objc.Send[T] calls.

type Ktrace_chunk_array

type Ktrace_chunk_array = KtraceChunkArray

Ktrace_chunk_array is a type alias for KtraceChunkArray for use in objc.Send[T] calls.

type Ktrace_config

type Ktrace_config = KtraceConfig

Ktrace_config is a type alias for KtraceConfig for use in objc.Send[T] calls.

type Ktrace_file

type Ktrace_file = KtraceFile

Ktrace_file is a type alias for KtraceFile for use in objc.Send[T] calls.

type Ktrace_machine

type Ktrace_machine = KtraceMachine

Ktrace_machine is a type alias for KtraceMachine for use in objc.Send[T] calls.

type Ktrace_target_process

type Ktrace_target_process = KtraceTargetProcess

Ktrace_target_process is a type alias for KtraceTargetProcess for use in objc.Send[T] calls.

type OSLogEventDeserializerDataSourceDelegate

type OSLogEventDeserializerDataSourceDelegate interface {
	objectivec.IObject

	// MetadataChunk protocol.
	MetadataChunk() objectivec.IObject

	// NextEventDataChunk protocol.
	NextEventDataChunk() objectivec.IObject
}

OSLogEventDeserializerDataSourceDelegate protocol.

type OSLogEventDeserializerDataSourceDelegateObject

type OSLogEventDeserializerDataSourceDelegateObject struct {
	objectivec.Object
}

OSLogEventDeserializerDataSourceDelegateObject wraps an existing Objective-C object that conforms to the OSLogEventDeserializerDataSourceDelegate protocol.

func OSLogEventDeserializerDataSourceDelegateObjectFromID

func OSLogEventDeserializerDataSourceDelegateObjectFromID(id objc.ID) OSLogEventDeserializerDataSourceDelegateObject

OSLogEventDeserializerDataSourceDelegateObjectFromID constructs a OSLogEventDeserializerDataSourceDelegateObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (OSLogEventDeserializerDataSourceDelegateObject) BaseObject

func (OSLogEventDeserializerDataSourceDelegateObject) MetadataChunk

func (OSLogEventDeserializerDataSourceDelegateObject) NextEventDataChunk

type SignalWaiter

type SignalWaiter struct {
	objectivec.Object
}

func SignalWaiterFromID

func SignalWaiterFromID(id objc.ID) SignalWaiter

SignalWaiterFromID constructs a SignalWaiter from an objc.ID.

func (SignalWaiter) Autorelease

func (s SignalWaiter) Autorelease() SignalWaiter

Autorelease adds the receiver to the current autorelease pool.

type SignalWaiterClass

type SignalWaiterClass struct {
	// contains filtered or unexported fields
}

func GetSignalWaiterClass

func GetSignalWaiterClass() SignalWaiterClass

GetSignalWaiterClass returns the class object for _TtC6ktraceP33_672812E7483E3BDB665D98181FA45B2F12SignalWaiter.

func (SignalWaiterClass) Alloc

func (sc SignalWaiterClass) Alloc() SignalWaiter

Alloc allocates memory for a new instance of the class.

func (SignalWaiterClass) Class

func (sc SignalWaiterClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL