summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
Diffstat (limited to 'collectors')
-rw-r--r--collectors/Makefile.am2
-rw-r--r--collectors/ebpf.plugin/Makefile.am (renamed from collectors/ebpf_process.plugin/Makefile.am)5
-rw-r--r--collectors/ebpf.plugin/README.md (renamed from collectors/ebpf_process.plugin/README.md)15
-rw-r--r--collectors/ebpf.plugin/ebpf.c (renamed from collectors/ebpf_process.plugin/ebpf_process.c)6
-rw-r--r--collectors/ebpf.plugin/ebpf.conf (renamed from collectors/ebpf_process.plugin/ebpf_process.conf)0
-rw-r--r--collectors/ebpf.plugin/ebpf.h (renamed from collectors/ebpf_process.plugin/ebpf_process.h)0
-rw-r--r--collectors/plugins.d/plugins_d.c2
7 files changed, 15 insertions, 15 deletions
diff --git a/collectors/Makefile.am b/collectors/Makefile.am
index 9bb5295813..460612c685 100644
--- a/collectors/Makefile.am
+++ b/collectors/Makefile.am
@@ -24,7 +24,7 @@ SUBDIRS = \
python.d.plugin \
slabinfo.plugin \
statsd.plugin \
- ebpf_process.plugin \
+ ebpf.plugin \
tc.plugin \
$(NULL)
diff --git a/collectors/ebpf_process.plugin/Makefile.am b/collectors/ebpf.plugin/Makefile.am
index efb1a97094..719c236367 100644
--- a/collectors/ebpf_process.plugin/Makefile.am
+++ b/collectors/ebpf.plugin/Makefile.am
@@ -8,5 +8,6 @@ dist_noinst_DATA = \
$(NULL)
dist_libconfig_DATA = \
- ebpf_process.conf \
- $(NULL) \ No newline at end of file
+ ebpf.conf \
+ $(NULL)
+
diff --git a/collectors/ebpf_process.plugin/README.md b/collectors/ebpf.plugin/README.md
index cadac9344d..bf00cac167 100644
--- a/collectors/ebpf_process.plugin/README.md
+++ b/collectors/ebpf.plugin/README.md
@@ -1,8 +1,7 @@
<!--
---
title: "eBPF monitoring with Netdata"
-custom_edit_url: https://github.com/netdata/netdata/edit/master/collectors/ebpf_process.plugin/README.md
-sidebar_label: "eBPF"
+custom_edit_url: https://github.com/netdata/netdata/edit/master/collectors/ebpf.plugin/README.md
---
-->
@@ -87,18 +86,18 @@ This process will not overwrite any changes you made to configuration files.
### Edit `netdata.conf` to enable the collector
After installing Netdata with the `--enable-ebpf` option, you still need to enable the plugin explicitly. To do so, use
-`edit-config` to open `netdata.conf` and set `ebpf_process = yes` in the `[plugins]` section.
+`edit-config` to open `netdata.conf` and set `ebpf = yes` in the `[plugins]` section.
```bash
cd /etc/netdata/ # Replace with your Netdata configuration directory, if not /etc/netdata/
./edit-config netdata.conf
```
-Scroll down to the `[plugins]` section and uncomment the `ebpf_process` line after changing its setting to `yes`.
+Scroll down to the `[plugins]` section and uncomment the `ebpf` line after changing its setting to `yes`.
```conf
[plugins]
- ebpf_process = yes
+ ebpf = yes
```
Restart Netdata with `service netdata restart`, or the appropriate method for your system, and reload your browser to
@@ -106,7 +105,7 @@ see eBPF charts.
## Charts
-The first version of `ebpf_process.plugin` gives a general vision about process running on computer. The charts related
+The first version of `ebpf.plugin` gives a general vision about process running on computer. The charts related
to this plugin are inside the **eBPF** option on dashboard menu and divided in three groups `file`, `vfs`, and
`process`.
@@ -180,14 +179,14 @@ process and thread creation.
## Configuration
This plugin has different configuration modes, all of which can be adjusted with its configuration file at
-`ebpf_process.conf`. By default, the plugin uses the less expensive `entry` mode. You can learn more about how the
+`ebpf.conf`. By default, the plugin uses the less expensive `entry` mode. You can learn more about how the
plugin works using `entry` by reading this configuration file.
You can always edit this file with `edit-config`:
```bash
cd /etc/netdata/ # Replace with your Netdata configuration directory, if not /etc/netdata/
-./edit-config ebpf_process.conf
+./edit-config ebpf.conf
```
### `[global]`
diff --git a/collectors/ebpf_process.plugin/ebpf_process.c b/collectors/ebpf.plugin/ebpf.c
index 267b1da3ea..b3fa7f71bf 100644
--- a/collectors/ebpf_process.plugin/ebpf_process.c
+++ b/collectors/ebpf.plugin/ebpf.c
@@ -3,7 +3,7 @@
#include <sys/time.h>
#include <sys/resource.h>
-#include "ebpf_process.h"
+#include "ebpf.h"
// callback required by eval()
int health_variable_lookup(const char *variable, uint32_t hash, struct rrdcalc *rc, calculated_number *result) {
@@ -857,7 +857,7 @@ static void set_global_values() {
static int load_collector_file(char *path) {
char lpath[4096];
- build_complete_path(lpath, 4096, path, "ebpf_process.conf" );
+ build_complete_path(lpath, 4096, path, "ebpf.conf" );
if (!appconfig_load(&collector_config, lpath, 0, NULL))
return 1;
@@ -1055,7 +1055,7 @@ int main(int argc, char **argv)
}
//set name
- program_name = "ebpf_process.plugin";
+ program_name = "ebpf.plugin";
//disable syslog
error_log_syslog = 0;
diff --git a/collectors/ebpf_process.plugin/ebpf_process.conf b/collectors/ebpf.plugin/ebpf.conf
index 88d7050c7b..88d7050c7b 100644
--- a/collectors/ebpf_process.plugin/ebpf_process.conf
+++ b/collectors/ebpf.plugin/ebpf.conf
diff --git a/collectors/ebpf_process.plugin/ebpf_process.h b/collectors/ebpf.plugin/ebpf.h
index 5f05389e02..5f05389e02 100644
--- a/collectors/ebpf_process.plugin/ebpf_process.h
+++ b/collectors/ebpf.plugin/ebpf.h
diff --git a/collectors/plugins.d/plugins_d.c b/collectors/plugins.d/plugins_d.c
index 3e8290b3d2..c29fac5fa9 100644
--- a/collectors/plugins.d/plugins_d.c
+++ b/collectors/plugins.d/plugins_d.c
@@ -830,7 +830,7 @@ void *pluginsd_main(void *ptr) {
// disable some plugins by default
config_get_boolean(CONFIG_SECTION_PLUGINS, "slabinfo", CONFIG_BOOLEAN_NO);
- config_get_boolean(CONFIG_SECTION_PLUGINS, "ebpf_process", CONFIG_BOOLEAN_NO);
+ config_get_boolean(CONFIG_SECTION_PLUGINS, "ebpf", CONFIG_BOOLEAN_NO);
// store the errno for each plugins directory
// so that we don't log broken directories on each loop