This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Kernel instrumentation question



Hi,

I configured my kernel to instrument clock, thread, alarm class
events.  Should the timestamps in the buffer be in
non-decreasing order?  When I display the instrument buffer,
the timestamps seem odd:

{{type = 257, thread = 3, timestamp = 5252, arg1 = 2, arg2 = 0},
 {type = 258, thread = 3, timestamp = 6043, arg1 = 2, arg2 = 0},
 {type = 2050, thread = 3, timestamp = 6987, arg1 = 131, arg2 = 0},
 {type = 2051, thread = 3, timestamp = 1499, arg1 = 0, arg2 = 0},
 {type = 258, thread = 3, timestamp = 3226, arg1 = 1, arg2 = 0},
 {type = 2049, thread = 3, timestamp = 4497, arg1 = 131, arg2 = 0},
 {type = 257, thread = 3, timestamp = 5251, arg1 = 2, arg2 = 0},
 {type = 258, thread = 3, timestamp = 6042, arg1 = 2, arg2 = 0},
 {type = 2050, thread = 3, timestamp = 6986, arg1 = 132, arg2 = 0},
 {type = 2051, thread = 3, timestamp = 1496, arg1 = 0, arg2 = 0},
 {type = 258, thread = 3, timestamp = 3221, arg1 = 1, arg2 = 0},
 {type = 2049, thread = 3, timestamp = 4492, arg1 = 132, arg2 = 0},
 {type = 257, thread = 3, timestamp = 5249, arg1 = 2, arg2 = 0},
 {type = 258, thread = 3, timestamp = 6040, arg1 = 2, arg2 = 0},
 {type = 2050, thread = 3, timestamp = 6984, arg1 = 133, arg2 = 0},
 {type = 2051, thread = 3, timestamp = 1501, arg1 = 0, arg2 = 0},
 {type = 258, thread = 3, timestamp = 3226, arg1 = 1, arg2 = 0},
 {type = 2049, thread = 3, timestamp = 4497, arg1 = 133, arg2 = 0},
[...]

-- 
Grant Edwards
grante@visi.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]