Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | doc: spec lookup table types | Rainer Gerhards | 2013-01-24 | 1 | -10/+24 | |
| | | | | ||||||
* | | | | doc: some spec changes for lookup tables | Rainer Gerhards | 2013-01-24 | 1 | -42/+24 | |
| | | | | ||||||
* | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2013-01-24 | 2 | -2/+41 | |
|\| | | | ||||||
| * | | | added omusrmsg changes to v7 compatibility doc | Rainer Gerhards | 2013-01-24 | 1 | -1/+32 | |
| | | | | | | | | | | | | | | | | Thanks to Tomas Heinrich for pointing out that this was missing. | |||||
| * | | | - added $!all-json to property replacer | Radu Gheorghe | 2013-01-24 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | | | - specified that $!<name> can be used with CEE-enhanced syslog (once parsed via mmjsonparse) | |||||
* | | | | bump version number for experimental release | Rainer Gerhards | 2013-01-22 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | optimze: reduce memory operations during dns resolution/hostname setting | Rainer Gerhards | 2013-01-22 | 8 | -124/+145 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previously, hostname and ip strings were shuffled to the msg object, which created a property out of them. Now the cache holds the property, and it is resused (almost) everywhere, what saves a lot of memory operations. The only exception is imtcp session setup, where different handling of the hostname is done, which we need to sort out (but that's another story). | |||||
* | | | | some fixes to commit 440aaff114607e82aefee56336846611a2e35c9c | Rainer Gerhards | 2013-01-22 | 2 | -12/+14 | |
| | | | | | | | | | | | | | | | | extended testbench run brought up some issues... | |||||
* | | | | optimize: move lowercasing of hostnames to cache | Rainer Gerhards | 2013-01-24 | 6 | -54/+85 | |
| | | | | | | | | | | | | | | | | so we save this on each name lookup! | |||||
* | | | | refactor cvthname() for cleaner code | Rainer Gerhards | 2013-01-24 | 1 | -33/+27 | |
| | | | | ||||||
* | | | | fix: gtls stream driver must support new interface | Rainer Gerhards | 2013-01-24 | 1 | -5/+3 | |
| | | | | ||||||
* | | | | testbench: remove warnings from nettester | Rainer Gerhards | 2013-01-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | the no-longer-existing -c option was still used when calling rsyslogd | |||||
* | | | | undo accidental enable of debug system in testbench | Rainer Gerhards | 2013-01-24 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Merge branch 'master' into master-dns-props | Rainer Gerhards | 2013-01-24 | 1 | -6/+10 | |
|\ \ \ \ | ||||||
| * | | | | regression fix: programname was not properly handled | Rainer Gerhards | 2013-01-24 | 1 | -6/+10 | |
| | | | | | | | | | | | | | | | | | | | | Regression from recent refactoring - never released. | |||||
* | | | | | optimize: have dns cache pre-create rsyslog prop_t's | Rainer Gerhards | 2013-01-24 | 18 | -99/+107 | |
|/ / / / | ||||||
* | | | | yet another version number bump (experimental version) | Rainer Gerhards | 2013-01-18 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | fix memory leak (regression from batch optimization work - unreleased) | Rainer Gerhards | 2013-01-18 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | refactor / simplify | Rainer Gerhards | 2013-01-18 | 1 | -5/+3 | |
| | | | | ||||||
* | | | | bump version number for experimental build | Rainer Gerhards | 2013-01-18 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | optimize: reduce nbr of strcpy() in FROMHOST processing | Rainer Gerhards | 2013-01-18 | 7 | -33/+45 | |
| | | | | ||||||
* | | | | dnscache: switch to use hashtable instead of linked list | Rainer Gerhards | 2013-01-18 | 2 | -72/+58 | |
| | | | | ||||||
* | | | | design: draft lookup table functionality | Rainer Gerhards | 2013-01-17 | 4 | -3/+218 | |
| | | | | ||||||
* | | | | push version for private experimental release | Rainer Gerhards | 2013-01-17 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | fix compile problem with new stats counters | Rainer Gerhards | 2013-01-17 | 1 | -10/+10 | |
| | | | | | | | | | | | | | | | | mutexes on systems without atomic instructions were incorrect | |||||
* | | | | omfile: finalize dynafile cache stats | Rainer Gerhards | 2013-01-17 | 2 | -13/+30 | |
| | | | | ||||||
* | | | | push version number | Rainer Gerhards | 2013-01-17 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | omfile: add stats counters to track dynafile performance | Rainer Gerhards | 2013-01-16 | 2 | -1/+39 | |
| | | | | ||||||
* | | | | push version number for private test release | Rainer Gerhards | 2013-01-15 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | optimize: another round of removing isdigit() | Rainer Gerhards | 2013-01-15 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | optimize memory layout for much better cache hits | Rainer Gerhards | 2013-01-15 | 5 | -36/+44 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moave element status out of batch_obj_t because we get a *much* better cache hit ratio this way. Note that this is really a HUGE saving, even if it doesn't look so (both profiler data as well as practical tests indicate that!). | |||||
* | | | | Merge branch 'master' into master-optimized | Rainer Gerhards | 2013-01-15 | 2 | -1/+3 | |
|\ \ \ \ | ||||||
| * | | | | bugfix: imklog issued wrong facility in error messages | Rainer Gerhards | 2013-01-15 | 2 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | ...what could lead to problems in other parts of the code | |||||
* | | | | | bugfix: regression from textpri() optimization | Rainer Gerhards | 2013-01-15 | 1 | -1/+2 | |
| | | | | | ||||||
* | | | | | optimize: do not iterate over batch items if unneeded ;) | Rainer Gerhards | 2013-01-15 | 1 | -5/+8 | |
| | | | | | ||||||
* | | | | | optimize: use fixed size (8 bits) instead of enum | Rainer Gerhards | 2013-01-15 | 1 | -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 Gerhards | 2013-01-14 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | optimize: use built-in str comparison, as this is optimized in assembly | Rainer Gerhards | 2013-01-14 | 1 | -7/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | do only when possible. However, the profiler only shows as *very* minimal effect. | |||||
* | | | | | optimize: save inspection of already-inspected data | Rainer Gerhards | 2013-01-14 | 1 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | | | this is just a small improvement, but let's get the benefit ;) | |||||
* | | | | | optimize: slight improvement due to isdigit() replacement | Rainer Gerhards | 2013-01-14 | 1 | -2/+3 | |
| | | | | | ||||||
* | | | | | optimize: minor cleanup (long scheduled...) | Rainer Gerhards | 2013-01-14 | 1 | -9/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | I did yet another safety-check that there are no problems with removing that de-init. | |||||
* | | | | | optimize: iscntrl() seems to be surprisingly slow | Rainer Gerhards | 2013-01-14 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | at least so tells the profiler... | |||||
* | | | | | optimize: obtaining programname | Rainer Gerhards | 2013-01-14 | 3 | -64/+35 | |
| | | | | | | | | | | | | | | | | | | | | included some additional refactoring for cleaner code | |||||
* | | | | | optimzize: msg/getNow() - remove snprintf | Rainer Gerhards | 2013-01-14 | 1 | -8/+26 | |
| | | | | | | | | | | | | | | | | | | | | instead, we use a lookup table for the values. | |||||
* | | | | | optimize: permit cancel during object destruction | Rainer Gerhards | 2013-01-14 | 1 | -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/textpri | Rainer Gerhards | 2013-01-14 | 2 | -11/+14 | |
|/ / / / | | | | | | | | | | | | | remove snprintf() in favor for quicker code | |||||
* | | | | omfile: improved async writing, finally enabled full async write | Rainer Gerhards | 2013-01-14 | 3 | -12/+25 | |
| | | | | | | | | | | | | | | | | also fixed a couple of smaller issues along that way | |||||
* | | | | Merge branch 'v7-stable-libnet-frag' | Rainer Gerhards | 2013-01-14 | 10 | -6/+48 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | |||||
| * | | | | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-14 | 3 | -2/+11 | |
| |\| | | | ||||||
| | * | | | Merge branch 'v5-stable' into v7-stable | Rainer Gerhards | 2013-01-14 | 3 | -1/+7 | |
| | |\ \ \ | | | | |/ | | | |/| |