There is a "dog_stats" variable in RPM's code, and 3 useful RPM watchdog activity will be recorded, there are:
a.. Dog event - the event are dog freeze, dog kick and dog thaw.
b.. Dog envent source - which record the where the dog event happen.
c.. Timestamp - which record the when the dog event happen.
Below is the RPM dog information which was got by Trace 32 command - v.v dog_stats, from the dog_event_source 0x000335B1 ( data.list 0x000335B1), we know the RPM freeze the watchdog before entering RPM halt (SWFI), and watchdog thaw (start the watchdog ticking again) after the RPM leaving halt mode.
dog_stats = (
entries = (
(dog_event = DOG_FREEZE, dog_event_source = 0x000335B1, timestamp = 387474011),
(dog_event = DOG_THAW, dog_event_source = 0x000335BD, timestamp = 387474011),
(dog_event = DOG_KICK, dog_event_source = 0x00033577, timestamp = 387474012),
(dog_event = DOG_KICK, dog_event_source = 0x0002BAD5, timestamp = 387474012)),
index = 0)
By default the number of the log entry is 4, and you can modify the DOG_STATS_ENTRIES macro to increase the log entry, since the RPM memory is very limited so please avoid to increase too many entries.
No comments:
Post a Comment