--- In [email protected], Calzo <[EMAIL PROTECTED]> wrote: > > In a program you must write a parser program to examine the > /proc/interrupt file... maybe using regular expressions (see "man > regex" and regex.h in C). > Via kernel you can use the syscall kstat_irqs(IRQ_NUMBER) and, for > other information, see irb_desc array. But unfortunally these symols > are not exported by default.
Hi Calzo, Thanks very much for this info. But like I said in my answer to Maxime (http://tech.groups.yahoo.com/group/foxboard/message/5394), it might not be worth the effort for the time being, since it would only be useful for my current test application. However, one day I'll for sure try your suggestion. If it works for interrupts, the same mechanism might exist for other parameters too. And maybe in the future I can use the same mechanism for those other parameters. Best rgds, --Geert
