From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH 0/3] service: add attribute get and reset Date: Wed, 4 Oct 2017 11:54:48 +0100 Message-ID: <1507114491-144338-1-git-send-email-harry.van.haaren@intel.com> Cc: Harry van Haaren To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A597B1B625 for ; Wed, 4 Oct 2017 12:54:30 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset adds two new functions to the service cores API, allowing the service library to expose generic attributes about the services, and to reset them. These attributes can be the cycle counts that cores have spent in the service-function. The 3rd patch in the series adds a new attribute, enabling the application to retrieve the number of calls to any service. Harry van Haaren (3): service: add attribute get function service: add reset all attributes for service service: add attribute for number of invokations lib/librte_eal/bsdapp/eal/rte_eal_version.map | 2 + lib/librte_eal/common/include/rte_service.h | 32 +++++++++ lib/librte_eal/common/rte_service.c | 45 +++++++++++-- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 2 + test/test/test_service_cores.c | 88 +++++++++++++++++++++++++ 5 files changed, 163 insertions(+), 6 deletions(-) -- 2.7.4