netdev: add source for network device information

This source parses the /proc/net/dev file to get basic statistics about
network throughput on the system.

We still need a specialized Aid and Visualizer so that we can render the
counter data in a more useful format.
This commit is contained in:
Christian Hergert
2019-06-26 12:38:54 -07:00
parent 0f497d5d1f
commit 00997fbd7f
5 changed files with 436 additions and 0 deletions

View File

@ -15,6 +15,7 @@ libsysprof_public_sources = [
'sysprof-kernel-symbol.c',
'sysprof-kernel-symbol-resolver.c',
'sysprof-local-profiler.c',
'sysprof-netdev-source.c',
'sysprof-process-model.c',
'sysprof-process-model-item.c',
'sysprof-profile.c',