summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | bugfix: regression from textpri() optimizationRainer Gerhards2013-01-151-1/+2
| | | | | | | | | | |
| * | | | | | | | | | optimize: use fixed size (8 bits) instead of enumRainer Gerhards2013-01-151-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looks like GCC, even if optimizing, uses 32 bits - at least this is suggested by the profiler results (both in terms of runtime and cache misses).
| * | | | | | | | | | optimize: re-use already computed value!Rainer Gerhards2013-01-141-2/+2
| | | | | | | | | | |
| * | | | | | | | | | optimize: use built-in str comparison, as this is optimized in assemblyRainer Gerhards2013-01-141-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do only when possible. However, the profiler only shows as *very* minimal effect.
| * | | | | | | | | | optimize: save inspection of already-inspected dataRainer Gerhards2013-01-141-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is just a small improvement, but let's get the benefit ;)
| * | | | | | | | | | optimize: slight improvement due to isdigit() replacementRainer Gerhards2013-01-141-2/+3
| | | | | | | | | | |
| * | | | | | | | | | optimize: iscntrl() seems to be surprisingly slowRainer Gerhards2013-01-141-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at least so tells the profiler...
| * | | | | | | | | | optimize: obtaining programnameRainer Gerhards2013-01-143-64/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | included some additional refactoring for cleaner code
| * | | | | | | | | | optimzize: msg/getNow() - remove snprintfRainer Gerhards2013-01-141-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead, we use a lookup table for the values.
| * | | | | | | | | | optimize: permit cancel during object destructionRainer Gerhards2013-01-141-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) usually, no cancellation happens 2) even if so, there is no cancellation point inside the destructors, so disabeling cancellation was mood in the first place...
| * | | | | | | | | | optimize msg.c/textpriRainer Gerhards2013-01-142-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove snprintf() in favor for quicker code
| * | | | | | | | | | omfile: improved async writing, finally enabled full async writeRainer Gerhards2013-01-141-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also fixed a couple of smaller issues along that way
| * | | | | | | | | | Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2013-01-144-1/+27
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * \ \ \ \ \ \ \ \ \ Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-141-1/+3
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | added capability to output thread-id-to-function debug infoRainer Gerhards2013-01-133-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a useful debug aid, but nothing of concern for regular users.
| | * | | | | | | | | | | Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-093-1/+13
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-092-1/+5
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| | * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2012-12-201-7/+18
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/omudpspoof/omudpspoof.c
| * | | | | | | | | | | | | | | optimize: do date() call in template processing only if actually neededRainer Gerhards2013-01-131-0/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-093-1/+13
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | | | | | | | | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-083-8/+23
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / / / | | |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2012-12-181-2/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * | | | | | | | | | | | | | cosmetic: re-use existing error code instead of new oneRainer Gerhards2012-12-181-2/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2012-12-181-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac plugins/impstats/impstats.c plugins/omudpspoof/omudpspoof.c runtime/rsyslog.h
| | * | | | | | | | | | | | | | omudpspoof: improve libnet calling sequenceRainer Gerhards2012-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | retains bugfix while increasing performance again
| * | | | | | | | | | | | | | | fix some compile problems on some platformsRainer Gerhards2012-12-141-1/+0
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | minor cleanupRainer Gerhards2012-12-141-0/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge branch 'master-optimize-facilitext'Rainer Gerhards2012-12-141-11/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | enhance optimizer: detect eq-comparison for syslog facilityRainer Gerhards2012-12-111-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and replace it with a (much faster) prifilt() call
| * | | | | | | | | | | | | | | | Merge branch 'v7-stable'Rainer Gerhards2012-12-131-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-068-156/+164
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * | | | | | | | | | | | | | | | bugfix[minor]: invalid error code when mmnormalize could not access rulebaseRainer Gerhards2012-11-301-0/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | refactor error processing in string template handlingRainer Gerhards2012-11-291-1/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | bugfix: no error message for invalid string template parametersRainer Gerhards2012-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather a malformed template was generated, and error information emitted at runtime. However, this could be quite confusing. Note that with this "bugfix" user experience changes: formerly, rsyslog and the affected actions properly started up, but the actions did not produce proper data. Now, there are startup error messages and the actions are NOT executed (due to missing template due to template error).
| * | | | | | | | | | | | | | | | Merge branch 'v7-stable'Rainer Gerhards2012-11-282-3/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/imptcp.html plugins/mmjsonparse/mmjsonparse.c plugins/mmnormalize/mmnormalize.c
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'v7-stable'Rainer Gerhards2012-11-222-10/+23
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/bsd.c plugins/imklog/imklog.c plugins/imklog/imklog.h
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master-newqueue'Rainer Gerhards2012-11-195-67/+105
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | queue: file delete stream does no longer do real ioRainer Gerhards2012-11-195-67/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stream is primarily used for state tracking, and has been modified to do just that. This results in considerable less io being done and the respective speedup.
| * | | | | | | | | | | | | | | | | | | Merge branch 'v7-stable'Rainer Gerhards2012-11-143-4/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'v7-stable'Rainer Gerhards2012-11-091-1/+9
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | bugfix: property tTIMESTAMP was incorrectly restoredRainer Gerhards2012-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in msg deserializer
| * | | | | | | | | | | | | | | | | | | | cleanup: remove no longer needed functionRainer Gerhards2012-11-062-87/+0
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | queue: reduce CPU load for deserializing message propertiesRainer Gerhards2012-11-066-23/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linear runtime due to message order. Was quadratic before. However, not a big overall improvement.
| * | | | | | | | | | | | | | | | | | | | queue: mini-improvement in deserializer (stage work)Rainer Gerhards2012-11-053-5/+5
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | very minimal improvement in reconstructing persisted queue entriesRainer Gerhards2012-11-051-6/+4
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | bugfix: dynafile zip files could be corruptedRainer Gerhards2012-11-051-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could happen if a dynafile was destructed before the first write. In practice, this could happen if few lines were written to a file and it then became evicted from the dynafile cache. This would probably look very random, because it depended on the timing in regard to message volume and dynafile cache size.
| * | | | | | | | | | | | | | | | | | | | queue: handle unknown queue type in debug outputRainer Gerhards2012-11-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | note: can not happen, but...
| * | | | | | | | | | | | | | | | | | | | queue: remove time() calls from msg deserializationRainer Gerhards2012-11-034-5/+30
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | queue: use specific deserializer for msg objectRainer Gerhards2012-11-035-10/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spares lengthy table lookups
| * | | | | | | | | | | | | | | | | | | | queue: remove unnecessary (obj_t*) redirection from msg ptrsRainer Gerhards2012-11-034-49/+44
| | | | | | | | | | | | | | | | | | | | |