Dear whom it may concern:
I have tried to trace socket communication in distributed application
using the Intel Trace Collector(ITC) 7.2
But, I feel hard because I can't consult some example(or guide)
sources(or projects) for socket communication.
So, ifsomeone hasa example or usage, addition information(except
Reference Guide) of socket communication using ITC, please send me the files.
I would greatly appreciate your prompt reply
According to my understanding, unless you implement the API calls, Trace Collector works entirely by capturing information in MPI calls, and doesn't work at as low a level as you appear to propose.
AFIK with Intel Trace Analyser & Collector, the tracing part is not restricted to programs using MPI; however it is more complicated to use the tracing library in this case. One can use itcpin to insert instrumentation probes. The itcpin utility program can manipulate a binary executable so that an Intel Trace Analyzer and Collector library is inserted as if the file has been linked against it. It can also insert code into the executable so that function entry and exit events are recorded for more detailed analysis of the users code.
If one has the access to the source codes of the application then one could instrument the code using API calls to the tracing functions of the library. The executable would have to be recompiled and relinked with the tracing library. The resulting binary then writes a tracefile that contains the calls to the API as events and can be analyzed using the Intel Trace Analyzer.