From 21cd00c84a468d12d55d60f4fff91aac3bce847e Mon Sep 17 00:00:00 2001 From: Vladimir Kobal Date: Thu, 20 Jun 2019 15:23:29 +0300 Subject: Perf plugin (#6225) * Add perf plugin skeleton * Initialize events * Collect data * Configure default counters * Add charts for hardware and software counters * Add charts for cache counters * Don't show zeroes for non-existent metrics * Reinit events when stalled * Do not reinit disabled events * Update the documentation * Scale values when multiplexing is happening --- Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index d5a873dfd5..6dacd825ef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -234,6 +234,11 @@ XENSTAT_PLUGIN_FILES = \ $(LIBNETDATA_FILES) \ $(NULL) +PERF_PLUGIN_FILES = \ + collectors/perf.plugin/perf_plugin.c \ + $(LIBNETDATA_FILES) \ + $(NULL) + PROC_PLUGIN_FILES = \ collectors/proc.plugin/ipc.c \ collectors/proc.plugin/plugin_proc.c \ @@ -573,6 +578,14 @@ if ENABLE_PLUGIN_XENSTAT $(NULL) endif +if ENABLE_PLUGIN_PERF + plugins_PROGRAMS += perf.plugin + perf_plugin_SOURCES = $(PERF_PLUGIN_FILES) + perf_plugin_LDADD = \ + $(NETDATA_COMMON_LIBS) \ + $(NULL) +endif + if ENABLE_BACKEND_KINESIS netdata_SOURCES += $(KINESIS_BACKEND_FILES) netdata_LDADD += $(OPTIONAL_KINESIS_LIBS) -- cgit v1.2.3