diff options
author | vkalintiris <vasilis@netdata.cloud> | 2023-03-10 12:20:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 12:20:40 +0200 |
commit | 37a06960f90c046f21c125c2b4265713da04f851 (patch) | |
tree | 54ed00a16dffb010a10242507cadb7140b28975b /Makefile.am | |
parent | a0652435f0dea126b6603a2467d912ca8a677e36 (diff) |
Refactor ML code. (#14659)
* Refactor ML code.
This commit introduces only non-functional changes.
Originally, the C++ code exposed C functions to be called
from the rest of the agent. When we migrated from C++ to C,
we did not eliminate these wrapper functions to make the
PR easier to understand and keep the total LOC low.
This commit removes the wrapper functions and "reclaims" the
`ml_` prefix that we used for the public API of the old
implementation.
Also, the nlohmann Json library has been removed and its
functionality was replaced with the equivalent Json functionality
that we added in libnetdata's BUFFERs.
* Remove missing headers from build systems.
* Fix CMake build.
* rrddim_free is outside of rrd "internals" now.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 27432b3923..a922d4def5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -239,9 +239,7 @@ ML_FILES += \ ml/ad_charts.cc \ ml/Config.cc \ ml/dlib/dlib/all/source.cpp \ - ml/json/single_include/nlohmann/json.hpp \ - ml/nml.h \ - ml/nml.cc \ + ml/ml-private.h \ ml/ml.cc \ $(NULL) |