diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 17:30:43 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 17:30:43 +0100 |
commit | 00d2ac3d712fb037411e9856e8174e9d55b5bdbc (patch) | |
tree | 9d439fc87eeef077bda652e9ce332182c139fc60 /action.h | |
parent | b80b0672beb9b8b4d07791791bb9f2fb7c73889a (diff) | |
parent | 55db71963e312634f78c25b61dd4800036fe25f9 (diff) | |
download | rsyslog-00d2ac3d712fb037411e9856e8174e9d55b5bdbc.tar.gz rsyslog-00d2ac3d712fb037411e9856e8174e9d55b5bdbc.tar.xz rsyslog-00d2ac3d712fb037411e9856e8174e9d55b5bdbc.zip |
Merge branch 'v5-devel'
Conflicts:
ChangeLog
action.c
plugins/imudp/imudp.c
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -89,6 +89,10 @@ 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); + STATSCOUNTER_DEF(ctrFail, mutCtrFail); }; |