]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: add get_latest_counter() to C++ -> Python interface. 26074/head
authorJan Fajerski <jfajerski@suse.com>
Fri, 7 Sep 2018 08:26:31 +0000 (10:26 +0200)
committerWido den Hollander <wido@42on.com>
Tue, 22 Jan 2019 14:21:07 +0000 (15:21 +0100)
commitc6975728a2c45c386e2ba062d66e7a1394e276c5
treec53fbb7ea839f5cc1adf1762c22765c693113580
parent84c28a8dcbf4dd306106d9d9bfcfd3e80f1c7331
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>
(cherry picked from commit b421142b1c6fb0a6cbd2f76d007ee07502a8d689)
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/BaseMgrModule.cc
src/mgr/DaemonState.h
src/pybind/mgr/mgr_module.py