Documentation
¶
Overview ¶
Package ktrace provides Go bindings for the ktrace framework.
Key Types ¶
- KtraceProviderList
- KtraceLoggingDataSource
- AOTImage
- KtraceReporter
- SignalWaiter
- Diagnostics
- KtraceCStringArray
- KtraceCommandWaiter
- KtraceKernelDisableWaiter
- KtraceRecordInfo
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func BindFunc(fptr any, name string) (err error)
- func SymbolAddress(name string) (uintptr, error)
- type AOTImage
- func (a AOTImage) AotLoadAddress() uint64
- func (a AOTImage) AotSize() uint64
- func (a AOTImage) Autorelease() AOTImage
- func (a AOTImage) Init() AOTImage
- func (a AOTImage) Key() Aotkey
- func (a AOTImage) SetAotLoadAddress(value uint64)
- func (a AOTImage) SetAotSize(value uint64)
- func (a AOTImage) SetKey(value Aotkey)
- func (a AOTImage) SetX86LoadAddress(value uint64)
- func (a AOTImage) X86LoadAddress() uint64
- type AOTImageClass
- type Aotkey
- type CFData
- type CFDictionary
- type CFRuntimeBase
- type Diagnostics
- type DiagnosticsClass
- type IAOTImage
- type IDiagnostics
- type IKtraceCStringArray
- type IKtraceCommandWaiter
- type IKtraceKernelDisableWaiter
- type IKtraceLoggingDataSource
- type IKtraceProviderList
- type IKtraceRecordInfo
- type IKtraceRecording
- type IKtraceReporter
- type IKtraceWaitGroup
- type IKtraceWakeListener
- type ISignalWaiter
- type KTProviderLogger
- type KTProviderLoggerObject
- type KtraceCStringArray
- type KtraceCStringArrayClass
- type KtraceChunk
- type KtraceChunkArray
- type KtraceChunkRef
- type KtraceCommandWaiter
- type KtraceCommandWaiterClass
- type KtraceConfig
- type KtraceFile
- type KtraceFileRef
- type KtraceKernelDisableWaiter
- type KtraceKernelDisableWaiterClass
- type KtraceLoggingDataSource
- func (k KtraceLoggingDataSource) Autorelease() KtraceLoggingDataSource
- func (k KtraceLoggingDataSource) CanKtfile() bool
- func (k KtraceLoggingDataSource) CanMetadata() bool
- func (k KtraceLoggingDataSource) CanNextChunk() bool
- func (k KtraceLoggingDataSource) CanSkipFirst() bool
- func (k KtraceLoggingDataSource) Init() KtraceLoggingDataSource
- func (k KtraceLoggingDataSource) InitWithKtraceFile(file *KtraceFile) KtraceLoggingDataSource
- func (k KtraceLoggingDataSource) Ktfile() (*KtraceFile, error)
- func (k KtraceLoggingDataSource) Metadata() (foundation.NSData, error)
- func (k KtraceLoggingDataSource) MetadataChunk() objectivec.IObject
- func (k KtraceLoggingDataSource) NextChunk() (unsafe.Pointer, error)
- func (k KtraceLoggingDataSource) NextEventDataChunk() objectivec.IObject
- func (k KtraceLoggingDataSource) Set_ktfile(value *KtraceFile)
- func (k KtraceLoggingDataSource) Set_metadata(value foundation.NSData)
- func (k KtraceLoggingDataSource) Set_nextChunk(value unsafe.Pointer)
- func (k KtraceLoggingDataSource) Set_skipFirst(value bool)
- func (k KtraceLoggingDataSource) SkipFirst() (bool, error)
- type KtraceLoggingDataSourceClass
- type KtraceMachine
- type KtraceProviderList
- func (k KtraceProviderList) Autorelease() KtraceProviderList
- func (k KtraceProviderList) ConfigurePostprocessingWithSession(session unsafe.Pointer)
- func (k KtraceProviderList) ConfigureWithSession(session unsafe.Pointer)
- func (k KtraceProviderList) ContainsWithName(name objectivec.IObject) bool
- func (k KtraceProviderList) DidEndTracingWithFile(file unsafe.Pointer)
- func (k KtraceProviderList) DidStartTracingWithFile(file unsafe.Pointer)
- func (k KtraceProviderList) Init() KtraceProviderList
- func (k KtraceProviderList) InitWithMachine(machine *KtraceMachine) KtraceProviderList
- func (k KtraceProviderList) PostprocessingCompleteWithFile(file unsafe.Pointer)
- func (k KtraceProviderList) ShouldStartTracingWithConfigurationError(configuration *KtraceConfig) (bool, error)
- func (k KtraceProviderList) ShouldTargetWithProcessError(process *KtraceTargetProcess) (bool, error)
- func (k KtraceProviderList) WillEndTracingWithFile(file unsafe.Pointer)
- func (k KtraceProviderList) WillFinishWithCatalogFile(catalog unsafe.Pointer, file unsafe.Pointer)
- func (k KtraceProviderList) WillStartTracingWithFile(file unsafe.Pointer)
- type KtraceProviderListClass
- type KtraceRecordInfo
- type KtraceRecordInfoClass
- type KtraceRecording
- type KtraceRecordingClass
- type KtraceReporter
- type KtraceReporterClass
- type KtraceTargetProcess
- type KtraceWaitGroup
- type KtraceWaitGroupClass
- type KtraceWakeListener
- type KtraceWakeListenerClass
- type Ktrace_chunk
- type Ktrace_chunk_array
- type Ktrace_config
- type Ktrace_file
- type Ktrace_machine
- type Ktrace_target_process
- type OSLogEventDeserializerDataSourceDelegate
- type OSLogEventDeserializerDataSourceDelegateObject
- type SignalWaiter
- type SignalWaiterClass
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindFunc ¶
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 ¶
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 ¶
- AOTImage.AotLoadAddress
- AOTImage.SetAotLoadAddress
- AOTImage.AotSize
- AOTImage.SetAotSize
- AOTImage.Key
- AOTImage.SetKey
- AOTImage.X86LoadAddress
- AOTImage.SetX86LoadAddress
func AOTImageFromID ¶
AOTImageFromID constructs a AOTImage from an objc.ID.
func (AOTImage) AotLoadAddress ¶
func (AOTImage) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (AOTImage) SetAotLoadAddress ¶
func (AOTImage) SetAotSize ¶
func (AOTImage) SetX86LoadAddress ¶
func (AOTImage) X86LoadAddress ¶
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 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 ¶
- [IKtraceLoggingDataSource._ktfile]
- IKtraceLoggingDataSource.Set_ktfile
- [IKtraceLoggingDataSource._metadata]
- IKtraceLoggingDataSource.Set_metadata
- [IKtraceLoggingDataSource._nextChunk]
- IKtraceLoggingDataSource.Set_nextChunk
- [IKtraceLoggingDataSource._skipFirst]
- IKtraceLoggingDataSource.Set_skipFirst
- IKtraceLoggingDataSource.MetadataChunk
- IKtraceLoggingDataSource.NextEventDataChunk
- IKtraceLoggingDataSource.InitWithKtraceFile
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 ¶
- IKtraceProviderList.ConfigurePostprocessingWithSession
- IKtraceProviderList.ConfigureWithSession
- IKtraceProviderList.ContainsWithName
- IKtraceProviderList.DidEndTracingWithFile
- IKtraceProviderList.DidStartTracingWithFile
- IKtraceProviderList.PostprocessingCompleteWithFile
- IKtraceProviderList.ShouldStartTracingWithConfigurationError
- IKtraceProviderList.ShouldTargetWithProcessError
- IKtraceProviderList.WillEndTracingWithFile
- IKtraceProviderList.WillFinishWithCatalogFile
- IKtraceProviderList.WillStartTracingWithFile
- IKtraceProviderList.InitWithMachine
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 ¶
func (kc KtraceCStringArrayClass) Alloc() KtraceCStringArray
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 ¶
func (kc KtraceCommandWaiterClass) Alloc() KtraceCommandWaiter
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 ¶
func (k KtraceKernelDisableWaiter) Autorelease() KtraceKernelDisableWaiter
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 ¶
func (kc KtraceKernelDisableWaiterClass) Alloc() KtraceKernelDisableWaiter
Alloc allocates memory for a new instance of the class.
func (KtraceKernelDisableWaiterClass) Class ¶
func (kc KtraceKernelDisableWaiterClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type KtraceLoggingDataSource ¶
type KtraceLoggingDataSource struct {
objectivec.Object
}
Methods ¶
- [KtraceLoggingDataSource._ktfile]
- KtraceLoggingDataSource.Set_ktfile
- [KtraceLoggingDataSource._metadata]
- KtraceLoggingDataSource.Set_metadata
- [KtraceLoggingDataSource._nextChunk]
- KtraceLoggingDataSource.Set_nextChunk
- [KtraceLoggingDataSource._skipFirst]
- KtraceLoggingDataSource.Set_skipFirst
- KtraceLoggingDataSource.MetadataChunk
- KtraceLoggingDataSource.NextEventDataChunk
- KtraceLoggingDataSource.InitWithKtraceFile
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 ¶
func (k KtraceLoggingDataSource) Autorelease() KtraceLoggingDataSource
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 ¶
func (k KtraceLoggingDataSource) Init() KtraceLoggingDataSource
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 ¶
func (k KtraceLoggingDataSource) Metadata() (foundation.NSData, error)
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 ¶
func (kc KtraceLoggingDataSourceClass) Alloc() KtraceLoggingDataSource
Alloc allocates memory for a new instance of the class.
func (KtraceLoggingDataSourceClass) Class ¶
func (kc KtraceLoggingDataSourceClass) Class() objc.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 ¶
- KtraceProviderList.ConfigurePostprocessingWithSession
- KtraceProviderList.ConfigureWithSession
- KtraceProviderList.ContainsWithName
- KtraceProviderList.DidEndTracingWithFile
- KtraceProviderList.DidStartTracingWithFile
- KtraceProviderList.PostprocessingCompleteWithFile
- KtraceProviderList.ShouldStartTracingWithConfigurationError
- KtraceProviderList.ShouldTargetWithProcessError
- KtraceProviderList.WillEndTracingWithFile
- KtraceProviderList.WillFinishWithCatalogFile
- KtraceProviderList.WillStartTracingWithFile
- KtraceProviderList.InitWithMachine
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 ¶
func (k KtraceProviderList) Init() KtraceProviderList
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 ¶
func (kc KtraceProviderListClass) Alloc() KtraceProviderList
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 ¶
func (kc KtraceRecordInfoClass) Alloc() KtraceRecordInfo
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 ¶
func (kc KtraceRecordingClass) Alloc() KtraceRecording
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 ¶
func (kc KtraceReporterClass) Alloc() KtraceReporter
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 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 ¶
func (kc KtraceWaitGroupClass) Alloc() KtraceWaitGroup
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 ¶
func (kc KtraceWakeListenerClass) Alloc() KtraceWakeListener
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 (o OSLogEventDeserializerDataSourceDelegateObject) BaseObject() objectivec.Object
func (OSLogEventDeserializerDataSourceDelegateObject) MetadataChunk ¶
func (o OSLogEventDeserializerDataSourceDelegateObject) MetadataChunk() objectivec.IObject
func (OSLogEventDeserializerDataSourceDelegateObject) NextEventDataChunk ¶
func (o OSLogEventDeserializerDataSourceDelegateObject) NextEventDataChunk() objectivec.IObject
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.
Source Files
¶
- aot_image.gen.go
- doc.gen.go
- functions.gen.go
- generate.go
- kt_provider_logger_protocol.gen.go
- ktrace_c_string_array.gen.go
- ktrace_command_waiter.gen.go
- ktrace_kernel_disable_waiter.gen.go
- ktrace_logging_data_source.gen.go
- ktrace_provider_list.gen.go
- ktrace_record_info.gen.go
- ktrace_recording.gen.go
- ktrace_reporter.gen.go
- ktrace_wait_group.gen.go
- ktrace_wake_listener.gen.go
- os_log_event_deserializer_data_source_delegate_protocol.gen.go
- tt_c6ktrace_p33_672812_e7483_e3_bdb665_d98181_fa45_b2_f12_signal_waiter.gen.go
- tt_cc6ktrace9_recording11_diagnostics.gen.go
- typedefs.gen.go
- types.gen.go
- undefined_types.gen.go