From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH v4] latencystats: added new library for latency stats Date: Fri, 11 Nov 2016 10:22:04 +0800 Message-ID: <5b715ac1-b9e8-f7fc-33a1-a430208c4fe4@intel.com> References: <1476711584-25377-1-git-send-email-reshma.pattan@intel.com> <1478524474-7154-1-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Reshma Pattan , dev@dpdk.org Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1CF7E11DE for ; Fri, 11 Nov 2016 03:22:06 +0100 (CET) In-Reply-To: <1478524474-7154-1-git-send-email-reshma.pattan@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 07/11/2016 21:14, Reshma Pattan wrote: [..] > Signed-off-by: Reshma Pattan Reviewed-by: Remy Horton > +static void > +metrics_display(int port_id) > +{ > + struct rte_stat_value *stats; > + struct rte_metric_name *names; Note that rte_stats_value is being renamed to rte_metric_value in the next version of the metrics library.. > +int > +rte_latencystats_init(uint64_t samp_intvl, > + rte_latency_stats_flow_type_fn user_cb) > +{ Far as I can tell, user_cb is always NULL, and the two callbacks it eventually get passed to don't use it. There any reason the function signature has it at all? > +++ b/lib/librte_latencystats/rte_latencystats_version.map > @@ -0,0 +1,10 @@ > +DPDK_16.11 { This will need to change to 17.02 once new release cycle starts. :) Will also need to add entry to release_17_02.rst once it becomes available.. ..Remy