160d4bdb |
1 | The application 'convert' is used to convert an old format tracefile into a new |
91a66e87 |
2 | format tracefile. It has several commandline parameters, the first is process file |
3 | name, the second is a number (the number of cpu in the machine), the third is |
4 | the first tracefile name(corresponding to the first cpu), the fourth is the |
5 | second tracefile name(corresponding to the second cpu), the fifth is ..., |
c9e8ac96 |
6 | the last one is root directory for the new trace (this can be omitted, |
7 | by default it is 'foo') |
160d4bdb |
8 | |
9 | The command line looks like this: |
91a66e87 |
10 | ./convert processfile_name the_number_of_cpu first_tracefile_name, ..., foo_dir |
160d4bdb |
11 | |
b9f095db |
12 | There is also a script file 'sysInfo' which is used to get system information |
160d4bdb |
13 | from your local machine, the information is saved in 'sysInfo.out' which will |
91a66e87 |
14 | be read by 'convert' later. If the old tracefile is generated by other machine, |
160d4bdb |
15 | then the 'sysInfo.out' should be gotten from that machine. |
16 | |
59460ee3 |
17 | 'core.xml' is a facility file, after run 'convert', it needs to be copied to |
18 | 'foo_dir/eventdefs' directory |
160d4bdb |
19 | |