From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Oct 2017 03:54:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,477,1500966000"; d="scan'208";a="1226897081" Received: from silpixa00398672.ir.intel.com ([10.237.223.128]) by fmsmga002.fm.intel.com with ESMTP; 04 Oct 2017 03:54:27 -0700 From: Harry van Haaren To: dev@dpdk.org Cc: Harry van Haaren Date: Wed, 4 Oct 2017 11:54:48 +0100 Message-Id: <1507114491-144338-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/3] service: add attribute get and reset X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 10:54:31 -0000 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