The typedef Callback
If your program defines a new type using a typedef for a mapped data type, TotalView calls the typedef callback. This callback lets you copy state information that is indexed by the type identifier since the new type will have a different type identifier from the old one.
The following example copies vector information associated with one ID to another"
proc vector_typedef {new_id old_id} {
global _vector_type_info
set _vector_type_info($new_id) $_vector_type_info($old_id)
}