]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: add get_latest_counter() to C++ -> Python interface. 23978/head
authorJan Fajerski <jfajerski@suse.com>
Fri, 7 Sep 2018 08:26:31 +0000 (10:26 +0200)
committerJan Fajerski <jfajerski@suse.com>
Mon, 10 Sep 2018 18:58:32 +0000 (20:58 +0200)
commitb421142b1c6fb0a6cbd2f76d007ee07502a8d689
tree92c66c33c526712ed2c1c4e9d500eea848c602ef
parent90463754ed6295dc55eb55e5acce7fc5b63e5a21
mgr: add get_latest_counter() to C++ -> Python interface.

This allows Python land to only retrieve the latest perf counters,
instead of of retrieving all from C++ land and pick out the latest.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/BaseMgrModule.cc
src/mgr/DaemonState.h
src/pybind/mgr/mgr_module.py