* and reset the cursor to point to the beginning of the buffer.
*/
static void WriteAndFlushBBTraceData () {
- write_profiling_data(BBTrace, ArrayStart, (ArrayCursor - ArrayStart));
+ write_profiling_data(BBTraceInfo, ArrayStart, (ArrayCursor - ArrayStart));
ArrayCursor = ArrayStart;
}
/* Output the command line arguments to the file. */
{
- int PTy = Arguments;
+ int PTy = ArgumentInfo;
int Zeros = 0;
write(OutFile, &PTy, sizeof(int));
write(OutFile, &SavedArgsLength, sizeof(unsigned));
static void FuncProfAtExitHandler() {
/* Just write out the data we collected.
*/
- write_profiling_data(Function, ArrayStart, NumElements);
+ write_profiling_data(FunctionInfo, ArrayStart, NumElements);
}