Hi,

I just skimmed through rtl_nfifo.c and wonder wether anybody is setting
the (static) debug variable from outside :-)
If this is only a compile-time flag (as I guess it is), there should probably
be a #define and use of conditional compilation instead to get rid of these
(well, few) wasted cycles :-)
Moreover I see uses of printk in its functions - these might be called from
RT-Linux tasks, so still no better solution besides hoping it does work ?

I have been thinking on writing a alternative approach lately: Create a
rt_printk module that provides a function rt_printk like the kernel
provides printk that puts the given string into a rtl_*fifo. Then there has to
be a user spca program that logs this fifo - probably this can be done by
syslogd somehow.

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   [EMAIL PROTECTED]
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to