On 19/01/2023 15:06, Robin Jarry wrote:
Allow applications to register a callback that will be invoked in
rte_lcore_dump() and when requesting lcore info in the telemetry API.

The callback is expected to return the number of TSC cycles that have
passed since application start and the number of these cycles that were
spent doing busy work.

Signed-off-by: Robin Jarry <[email protected]>
Acked-by: Morten Brørup <[email protected]>
---

Notes:
     v5 -> v6: Added/rephrased some inline comments.

  lib/eal/common/eal_common_lcore.c | 45 ++++++++++++++++++++++++++++---
  lib/eal/include/rte_lcore.h       | 35 ++++++++++++++++++++++++
  lib/eal/version.map               |  1 +
  3 files changed, 78 insertions(+), 3 deletions(-)

Reviewed-by: Kevin Laatz <[email protected]>


Reply via email to