syslog-ng--mainline: added stats counter sharing and a way to disable stats counter
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-84> Revision: syslog-ng--mainline--2.0--patch-84 Archive: bazsi@balabit.hu--bazsi-1 Creator: Balazs Scheidler <bazsi@balabit.hu> Date: Fri Jan 20 11:01:44 CET 2006 Standard-date: 2006-01-20 10:01:44 GMT Modified-files: ChangeLog src/affile.c src/afprog.c src/afsocket.c src/logwriter.c src/logwriter.h src/stats.c src/stats.h New-patches: bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-84 Summary: added stats counter sharing and a way to disable stats counter Keywords: 2006-01-20 Balazs Scheidler <bazsi@balabit.hu> * src/stats.c (stats_register_counter): added shared parameter to specify that the given counter can be shared * src/logwriter.h (LogWriterOptions): added flags member and two flags LWOF_NO_STATS, LWOF_SHARED_STATS * src/logwriter.c (log_writer_options_init): converted fixed_stamp parameter to a flag word, the actual value is LWOF_FIXED_STAMP, (log_writer_init): don't register a stats counter if LWOF_NO_STAMP is specified * src/af*.c: changed the call of log_writer_options_init() Diff stats: ChangeLog | 28 ++++++++++++++++++++++++++++ src/affile.c | 14 +------------- src/afprog.c | 2 +- src/afsocket.c | 2 +- src/logwriter.c | 9 +++++---- src/logwriter.h | 15 ++++++++++++--- src/stats.c | 49 +++++++++++++++++++++++++++++++++++++++---------- src/stats.h | 2 +- 8 files changed, 88 insertions(+), 33 deletions(-)
participants (1)
-
bazsi@balabit.hu