[lxc-devel] [lxc/lxc] 80ee22: add [gs]et_cgroup_item to lua api

GitHub noreply at github.com
Mon Nov 4 14:36:49 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 80ee22284b4172f9ff1d55c62e4a0ef01a4be92e
      https://github.com/lxc/lxc/commit/80ee22284b4172f9ff1d55c62e4a0ef01a4be92e
  Author: Dwight Engen <dwight.engen at gmail.com>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M src/lua-lxc/core.c
    M src/lua-lxc/lxc.lua
    M src/lua-lxc/test/apitest.lua

  Log Message:
  -----------
  add [gs]et_cgroup_item to lua api

fix up api test to run and add test for new [gs]et_cgroup_item

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 891f838ba8c555a4fd3097f952d503d144ad9fb8
      https://github.com/lxc/lxc/commit/891f838ba8c555a4fd3097f952d503d144ad9fb8
  Author: Dwight Engen <dwight.engen at gmail.com>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M src/lua-lxc/lxc.lua

  Log Message:
  -----------
  lua: fix stats collection using get_cgroup_item

Previously, the lua stats collection was building its own paths to the
cgroup files, which could be wrong depending on what --with-cgroup-pattern
was passed to configure. Fix it to use the get_cgroup_item api so it
always finds the files.

Remove cgroup_path_get since it is not used anymore.

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 2752ecec3232c231469a2ad8513a5527fef66fd6
      https://github.com/lxc/lxc/commit/2752ecec3232c231469a2ad8513a5527fef66fd6
  Author: Dwight Engen <dwight.engen at gmail.com>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M doc/lxc-top.sgml.in
    M src/lua-lxc/lxc.lua
    M src/lxc/lxc-top

  Log Message:
  -----------
  lxc-top: show kernel memory being used if available

- Also removed duplicate stats_clear lua function

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/b12e1cb533be...2752ecec3232


More information about the lxc-devel mailing list