diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 11:16:07 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 11:16:07 +0100 |
commit | 5fe837bf7dbdcc245ee233feb1fbcc6d052a4898 (patch) | |
tree | 206148b35803ac791559f08926d236a2e95f47af /action.h | |
parent | db137ef8c1b3f8b24ccf9b3b4bfed4fdf493916a (diff) | |
download | rsyslog-5fe837bf7dbdcc245ee233feb1fbcc6d052a4898.tar.gz rsyslog-5fe837bf7dbdcc245ee233feb1fbcc6d052a4898.tar.bz2 rsyslog-5fe837bf7dbdcc245ee233feb1fbcc6d052a4898.zip |
added instrumentation
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -89,6 +89,9 @@ struct action_s { pthread_mutex_t mutActExec; /* mutex to guard actual execution of doAction for single-threaded modules */ uchar *pszName; /* action name (for documentation) */ DEF_ATOMIC_HELPER_MUT(mutCAS); + /* for statistics subsystem */ + statsobj_t *statsobj; + STATSCOUNTER_DEF(ctrProcessed, mutCtrProcessed); }; |