summaryrefslogtreecommitdiff
path: root/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Optimize and simplify the epoll pollerPřemysl Janouch2014-09-241-27/+14
| | | | | | | | | | On my own machine (4096 max FD's), scanning localhost for all services, there was no change to speak of. On another one, though, with 65536 max FD's scanning localhost and another machine simultaneously for a specific service, there was a dramatic speedup allowing much faster scans, with userspace load dropping to about a quarter of a second. As a bonus, it makes the code simpler.
* Get rid of some memory holes on x86_64Přemysl Janouch2014-09-241-0/+1
|
* Fix the epoll pollerPřemysl Janouch2014-09-241-1/+2
| | | | Setting the fd to -1 broke poller_remove_from_dispatch().
* Sort epoll_wait() output earlierPřemysl Janouch2014-09-241-3/+3
|
* Fix the hotspotPřemysl Janouch2014-09-241-8/+18
| | | | Valgrind seems to be quite happy with it now.
* Identified a hot-spotPřemysl Janouch2014-09-241-0/+1
|
* Implement idle eventsPřemysl Janouch2014-09-241-2/+61
|
* FormattingPřemysl Janouch2014-09-241-6/+6
| | | | No idea how this happened.
* Fix str_append_data()Přemysl Janouch2014-09-231-1/+1
| | | | `void *' is more appropriate here.
* Generate a manpagePřemysl Janouch2014-09-201-2/+2
| | | | help2man should be enough so far.
* Fix timersPřemysl Janouch2014-09-201-11/+11
| | | | Fucking hell. We're still having some event scheduling issues.
* Save a syscall per connectionPřemysl Janouch2014-09-201-2/+3
|
* Rework the pollerPřemysl Janouch2014-09-191-158/+168
| | | | | | | | It's about time we stopped fucking ourselves in the butt. The scanning should be much faster now. Thanks to libuv for inspiration.
* First set of fixesPřemysl Janouch2014-09-191-2/+2
| | | | There are still some problems but at least it does something now.
* Implement the indicator etc.Přemysl Janouch2014-09-181-0/+18
|
* More stuffPřemysl Janouch2014-09-141-10/+159
| | | | | | | - renamed *_func to *_fn - some initial code for the indicator (needs curses) - moved option handler to utils - more work on unit generation & processing
* StuffPřemysl Janouch2014-09-121-0/+3
|
* Write stubs for the pluginsPřemysl Janouch2014-09-111-0/+3
| | | | Make them compile.
* Random crystallisationPřemysl Janouch2014-09-101-170/+0
| | | | Don't worry, there will be better commit messages eventually.
* Initial commitPřemysl Janouch2014-09-081-0/+1998
Nothing's working yet, only some supporting code has been put in place.