service: add reset all attributes for service
authorHarry van Haaren <harry.van.haaren@intel.com>
Fri, 12 Jan 2018 10:27:17 +0000 (10:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 12 Jan 2018 11:49:40 +0000 (12:49 +0100)
commit1fa2c9e1080f09e2b1a07697b6949ed7a30001e0
treef565e2926b14cf6557c482cda3c55a1fb6419ef7
parent4d55194d76a4cf23f95e700c6911f62cc625fb45
service: add reset all attributes for service

This commit introduces a new API, allowing the application to
reset attributes of a service like the cycle count. Given this
functionality is now exposed to the user, remove the resetting
of stats during a dump() call.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
lib/librte_eal/common/include/rte_service.h
lib/librte_eal/common/rte_service.c
lib/librte_eal/rte_eal_version.map
test/test/test_service_cores.c