summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c3aa39)
raw | patch | inline | side by side (parent: 2c3aa39)
author | Korynkevych, RomanX <romanx.korynkevych@intel.com> | |
Tue, 6 Dec 2016 12:13:37 +0000 (12:13 +0000) | ||
committer | Korynkevych, RomanX <romanx.korynkevych@intel.com> | |
Thu, 8 Dec 2016 11:11:56 +0000 (11:11 +0000) |
Monitoring groups fail to start when intel_rdt plugin has unpredictably
stopped without unsubscribing from the pqos library. Reset pqos monitoring
groups registers after pqos library is initialized.
Change-Id: I231ba44e531deb8791f34730e7572bfe0cbd825d
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych@intel.com>
stopped without unsubscribing from the pqos library. Reset pqos monitoring
groups registers after pqos library is initialized.
Change-Id: I231ba44e531deb8791f34730e7572bfe0cbd825d
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych@intel.com>
src/intel_rdt.c | patch | blob | history |
diff --git a/src/intel_rdt.c b/src/intel_rdt.c
index d1a0c51d9ae074b9f6406c90a16b3b6103acaeb9..6beac7b42bc6fe02e375bd670103bd9c5e2e542e 100644 (file)
--- a/src/intel_rdt.c
+++ b/src/intel_rdt.c
return (-ENOMEM);
}
- /* In case previous instance of the application was not closed properly
- * call fini and ignore return code. */
- pqos_fini();
-
struct pqos_config pqos = {.fd_log = -1,
.callback_log = rdt_pqos_log,
.context_log = NULL,
goto rdt_preinit_error2;
}
+ /* Reset pqos monitoring groups registers */
+ pqos_mon_reset();
+
return (0);
rdt_preinit_error2: