summaryrefslogtreecommitdiffstats
path: root/spawn
AgeCommit message (Collapse)Author
2022-05-03Trace rwlocks of netdata (#12785)Costa Tsaousis
* with -DNETDATA_INTERNAL_CHECKS=1 enable rwlocks tracing * fix strings alignment on terminal * remove wrong addition * removed formating warning; now counting active locks per thread; tracing is enabled with -DNETDATA_TRACE_RWLOCKS=1 * added the missing netdata_mutex_destroy() * optimized clocks usage in locks * added also main * fixed formatting warning * add compiler warning when compiling with -DNETDATA_TRACE_RWLOCKS=1 * cleanup and documentation * fix for old variable * >= not just > to allow proper comparisons * dont print 0x twice and print the lock pointer on every line * trace locks deeper
2022-04-19Allocate buffer memory for uv_write and release in the callback function ↵Stelios Fragkakis
(#12688) * Allocate memory needed for uv_write and free it in the callback function * Allocate memory needed for uv_write and free it in the callback function
2022-01-20Remove internal dbengine header from spawn/spawn_client.c (#12009)vkalintiris
2022-01-18Do not use dbengine headers when dbengine is disabled. (#11967)vkalintiris
Prior to this commit both daemon/commands.c and spawn/spawn.c used to include database/engine/rrdenginelib.h, ie. a header file that is available only when enabling the dbengine feature.
2021-10-06Initialize write_ctx struct with zeroes (#11621)Emmanuel Vasilakis
2021-05-24Remove unecessary relative paths when including headers. (#11124)vkalintiris
Currently, we add the repository's top-level dir in the compiler's header search path. This means that code in every top-level directory within the repo can include headers sibling top-level directories. This patch makes header inclusion consistent when it comes to files that are included from sibling top-level directories within the repo.
2021-04-14spelling: bidirectional (#10918)Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-10Rename struct avl to avl_element and the typedef to avl_t (#10735)vkalintiris
Before: ``` struct foobar { avl avl; ... } ``` After: ``` struct foobar { avl_t avl; ... }; ``` Which makes figuring out the type from field name easier.
2020-11-07Make libnetdata headers compilable by C++. (#10185)Tomáš Kopal
2020-06-16Replace assert calls (#9349)Markos Fountoulakis
* Replace all assert() calls with the new fatal_assert() for proper logging.
2020-06-16Get netdata execution path early to avoid user permission issues (#9339)Markos Fountoulakis
* Get netdata execution path early to avoid user permission issues
2020-06-09Add verbose prints when spawn server fails to spawn. (#9305)Markos Fountoulakis
2020-05-14Improve the impact of health code on netdata scalability (#8407)Markos Fountoulakis
* Add support for spawning processes without pipes. * Port health_alarm_execute() from mypopen() to netdata_spawn() * Make alarm notifications asynchronous within a single health thread iteration * Initial version of spawn server. * preliminary integration of spawn client with health