Use the tnfcollection command to start or stop the collection of probe data from the loaded program. You can issue the command to activate probes located throughout your program or you can issue the command as an event action specifier, activating the collection of probe data between breakpoints. For example:
(prism all) tnfenable mpi_api (prism all) stop at foo {tnfcollection on} (prism all) stop at bar {tnfcollection off} (prism all) cont