Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1518 → Rev 1519

/demos/trunk/newtrace/initfile/initfile.c
76,6 → 76,8
PID shutdown_task_PID = -1;
int a = -1;
 
extern unsigned int clk_per_msec;
 
TIME __kernel_register_levels__(void *arg)
{
struct multiboot_info *mb = (struct multiboot_info *)arg;
114,10 → 116,8
 
FTrace_enable();
TRACER_LOGEVENT(FTrace_EVT_trace_start,0,0);
TRACER_LOGEVENT(FTrace_EVT_trace_start,proc_table[exec_shadow].context,clk_per_msec);
 
TRACER_LOGEVENT(FTrace_EVT_cycles_per_msec,0,clk_per_msec);
 
for (i=0;i<10;i++)
if (proc_table[i].context != 0) TRACER_LOGEVENT(FTrace_EVT_id,
(unsigned short int)proc_table[i].context,i);