Adds pointer to the pointer tracker, with associated information, which is printed in summary of pointer tracker printed by pointer_tracker_dump.
For convenience can be used camel_pointer_tracker_track
, which adds place of the caller as info
. Added pointer
should be removed with pair function pointer_tracker_untrack.
ptr |
pointer to add to the pointer tracker |
info |
info to print in tracker summary |