[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv3 09/10] Fix misspelled cpuacct.usage_percpu in cgroup mock.



On 03.02.2014 18:44, Thorsten Behrens wrote:
---

Turned out during test writing, when this was actually used the
first time.

  tests/vircgroupmock.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/vircgroupmock.c b/tests/vircgroupmock.c
index d772652..84bb1b0 100644
--- a/tests/vircgroupmock.c
+++ b/tests/vircgroupmock.c
@@ -214,7 +214,7 @@ static int make_controller(const char *path, mode_t mode)
                    "user 216687025\n"
                    "system 43421396\n");
          MAKE_FILE("cpuacct.usage", "2787788855799582\n");
-        MAKE_FILE("cpuacct.usage_per_cpu", "1413142688153030 1374646168910542\n");
+        MAKE_FILE("cpuacct.usage_percpu", "1413142688153030 1374646168910542\n");
      } else if (STRPREFIX(controller, "cpuset")) {
          MAKE_FILE("cpuset.cpu_exclusive", "1\n");
          if (STREQ(controller, "cpuset"))


ACK

Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]