diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-06-12 12:35:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 22:35:08 +1000 |
commit | 9c52a1e33b83632572a4758d9d13383402a275fb (patch) | |
tree | ce1a3ad6bba11c47b0f556b341985f636d9c1579 /collectors/apps.plugin | |
parent | 5ef6628dd8ab47367d899b26bf0d3151df402d5e (diff) |
Integration between eBPF and Apps (#9178)
* ebpf_apps: Create files to do integration
* ebpf_apps: move functions from apps to ebpf part 1
* ebpf_apps: move functions from apps to ebpf part 2
* ebpf_apps: Functions to read apps_groups.conf
* ebpf_apps: reset structures
* ebpf_apps: Verify user running plugin
* ebpf_apps: Adjust structures used for eBPF.plugin
* rebase
* ebpf_apps: Move ebpf submenu near apps submenu
* ebpf_apps: Brings structures from kernel-collector repository4
* ebpf_apps: Set definitions for the new chart names
* ebpf_apps: bring new functions to read data from kernel ring
* ebpf_apps: New variable to store PID information on process thread
* ebpf_apps: It brings PID variable to socket
* ebpf_apps: Chart creation
* ebpf_apps: New probe
* ebpf_apps: Fix order
* ebpf_apps: Clean targets
* ebpf_apps: Necessary changes to avoid parse proc
* rebase
* ebpf_apps: Fix key inside collect_data_for_all_processes to remove infinite loop
* ebpf_apps: Bring variables to read data from hash table
* ebpf_apps: Fix coverity warnings
* ebpf_apps: Fix the missing allocation for all_pids and another small adjusts
* ebpf_apps: Postpone thread creation to fill targets
* ebpf_apps: Add comments while functions were tested
* ebpf_apps: Fix LGTM warnings
* ebpf_apps: Clean allocated structure with raw data
* ebpf_apps: Bring missing functions to calculate apps charts for process
* ebpf_apps: Rename a function and update apps_groups.conf
* ebpf_apps: Copy logic for chart creation to sockets
* ebpf_apps: Remove unecessary variable
* Update chart creating
* Remove Users and User Groups targets
* ebpf_apps: missing argument
* ebpf_apps: Fix LGTM https://github.com/netdata/netdata/pull/9178#issuecomment-638253538 error
* Synchronize getting and sending data
* eb^C_apps: Remove error messages adding read of proc file
* ebpf_apps: Missing function
* ebpf_apps: Move socket chart creation and change necessary functions
to read cmdline
* ebpf_apps: Bring missing loop to reset variable
* ebpf_apps: Remove unecessary sleep
* ebpf_apps: Fix return and allocation to allow the
apps integration
* ebpf_apps: create structure to set apps dimension
* ebpf_apps: create structure to set apps dimension for socket
* ebpf_apps: Fix wrong family for process
* ebpf_apps: Enable apps by default
* Functions to enable charts for apps
* Fix small bugs
* ebpf_apps: Fix missing root_pid
* Fix negative output on charts
* ebpf_apps: Remove debug messages from process
* ebpf_apps: Fix socket lock scheme
* ebpf_apps: Small fixes
* ebpf_apps; Remove unecessary function call and header
* ebpf_apps: Enable apps by default
* remove wrong files
* ebpf_apps: update cheksum
* Update dashboard.info bringing missing parameters for charts that do integration with ebpf
* Fix a bug
* ebpf_apps: Fix open of proc files that are not more present
* ebpf_apps:Fix synchronization problems
* ebpf_apps: Remove dupplication that was killing socket charts
* ebpf_apps: Fix codacy warnings
* ebpf_apps: Fix process read from memory
* ebpf_apps: Remove unecessary variable from code
* ebpf_apps: Fix wrong variable usage
* ebpf_apps: complete separation between global and apps charts
* Fix missing check and a wrong check
* ebpf_apps: Comment unnecessary code copied from apps_plugin.c
* ebpf_apps: Restart ebpf when number of monitored PIDs is smaller than 0.7
* ebpf_apps: Fix coverity scan error
* ebpf_release: Update release version
* ebpf_apps: Remove unecessary test
* ebpf_apps: Remove unecessary error message
* ebpf_apps: Clean probes during the startup
* ebpf_apps: Bring additional variables to monitor chart plot
* ebpf_apps: Missing chart when entry mode is enabled
* ebpf_apps: Do synchronization between apps.plugin and ebpf.plugin dimension
* ebpf_apps: socket synchronization
* ebpf_apps: fix problems with task_close
* ebpf_apps: Brings title to charts
* ebpf_apps: restore to fix errors
* ebpf_apps: Remove hard code update every
* ebpf_apps: rename variables
* ebpf_apps: Bring title for the charts
* ebpf_apps: Remove unecessary line
* ebpf_apps: bring new release to PR
* ebpf_apps: Fix constant value when a function is not used for a process
* ebpf_apps: This fixes a possible memory leak
* ebpf_apps: move delete function to bring back synchronization between charts
* Change chart type
* Fix for exited pids
Co-authored-by: Vladimir Kobal <vlad@prokk.net>
Diffstat (limited to 'collectors/apps.plugin')
-rw-r--r-- | collectors/apps.plugin/apps_groups.conf | 1 | ||||
-rw-r--r-- | collectors/apps.plugin/apps_plugin.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/collectors/apps.plugin/apps_groups.conf b/collectors/apps.plugin/apps_groups.conf index 1eaa8bdc78..249265afbf 100644 --- a/collectors/apps.plugin/apps_groups.conf +++ b/collectors/apps.plugin/apps_groups.conf @@ -86,6 +86,7 @@ fping: fping ioping: ioping go.d.plugin: *go.d.plugin* slabinfo.plugin: slabinfo.plugin +ebpf.plugin: *ebpf.plugin* # agent-service-discovery agent_sd: agent_sd diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c index 31a241c169..4ec8c29ae7 100644 --- a/collectors/apps.plugin/apps_plugin.c +++ b/collectors/apps.plugin/apps_plugin.c @@ -2451,7 +2451,8 @@ static inline void link_all_processes_to_their_parents(void) { p->parent = NULL; if(unlikely(!p->ppid)) { - p->parent = NULL; + //unnecessary code from apps_plugin.c + //p->parent = NULL; continue; } |