poITracingCtrl GetEntityTypeList
Gets the available entity types.
Syntax
poITracingCtrl_handle GetEntityTypeList
Application
HyperView Tcl Modify
Description
The tracing control API has several commands which require the caller to specify the entity type. This command lists the types that can be used when calling these procedures.
Example
Returns the list of entity types for the tracing
controller:
hwi OpenStack
if {[catch {
hwi GetSessionHandle session_handle
hwi GetActiveClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetTracingCtrlHandle tc_handle
set entityTypes [tc_handle GetEntityTypeList]
} result]} {
global errorInfo;
puts stderr $result;
puts "[session_handle GetError]";
puts stderr "*** Tcl TRACE ***";
puts stderr $errorInfo;
} else {
puts "Types are: $entityTypes";
puts "********";
puts "No errors.";
puts "Warnings: ";
puts " [session_handle GetError]";
}
hwi CloseStack
Console Output:
Types are: node part system line
********
No errors.
Warnings:
Errors
Returns HW_InvalidHandle if the tracing control handle is invalid.