This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Using instrument buffer by applications?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 21 Jul 2008 19:00:52 +0000 (UTC)
- Subject: [ECOS] Using instrument buffer by applications?
I'm looking into ways to get some sort of event history/log
info out of eCos apps. I've been looking at the instrument
buffer mechanism that's implimented in the eCos kernel, but it
doesn't really look appropriate.
The main issue is that the timestamp in a log record is the
number of HAL counter ticks since the last system tick. The
only way that value is meaningful is if you have the kernel
configured to instrument system ticks. But, if you do that the
instrument buffer fills up with virtually nothing but 1ms
system ticks. Even with 10ms system ticks, they're still going
to completely swamp out events that might only happen once
every few minutes.
Has anybody used the instrument buffer scheme to log
application events?
--
Grant Edwards grante Yow! CHUBBY CHECKER just
at had a CHICKEN SANDWICH in
visi.com downtown DULUTH!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss