[evlog-dev] evlog and db2

"Mark Megerian" <[email protected]> Wed, 5 Mar 2003 16:18:16 -0600
Newsgroups gmane.linux.kernel.event-logging
Message-ID <[email protected]>
I have made good progress with getting the evlog data into a db2 table.  In
looking through the code in evlview for getting notified of new events, I
was puzzled by something.

I suspect this is a naive question, but:

- The code uses posix_log_notify_add to ask to be notified about new
events, but then it uses posix_log_read to process all of the events.  To
the uninitiated, that seems like a contradiction.  Why ask to be notified,
if you are essentially going to loop on reading the log for new events
anyway?  Is it because there is a level of indirection between the evlog
event, and this posix log??

Also, I am interested in getting any opinions on the performance
expectations of using this notify technique vs. the plug-in technique.
Expecting to have a large volume of events over 1,024 nodes, so pathlength
is important.


thanks!



Mark Megerian    (507) 253-1682
[email protected]




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com