The program UpicAnalyzer is supplied with UPIC on Linux (64-bit). UpicAnalyzer reads the trace records from a BTRACE trace, filters out the UPIC trace records, prepares these and writes them to a file in a specific format (UPIC ReplayFile Layout). This file can then be used as the input file for the program UpicReplay.
UpicAnalyzer is called as follows from the Linux shell:
UpicAnalyzer
inputfile outputfile
Meaning of the parameters
inputfile outputfile | Name of the BTRACE file that you have transferred to the Linux system. Name of the output file (UPIC ReplayFile). You can use this file to play back the UPIC session with UpicReplay. |
The program UpicAnalyzer recognizes the type of platform on which the trace file was created and processes the contents in the light of the platform's specific characteristics.
Example
The transferred trace file has the name btrc.sorted. It has to be prepared and the output written to the file Replayfile. The call is as follows:
UpicAnalyzer btrc.sorted Replayfile
Output:
Program "UpicAnalyzer": Version 7.0 build yyyy-mm-dd on Linux Intel ,64 Bit ,Little-Endian started
inputfile "btrc.sorted"
outputfile "Replayfile"
109 UTM BCAM trace records with 17218 bytes read.
25 UPIC replay records with 2046 bytes written.
Program "UpicAnalyzer" finished.