service: reset core call stats on dump
This aligns with the service stats, which are currently also reset on read. A generic statistics API would be helpful for the service library in future. Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
This commit is contained in:
parent
5ef9209891
commit
4977b84f99
@ -703,7 +703,7 @@ int32_t rte_service_dump(FILE *f, uint32_t id)
|
||||
if (lcore_config[i].core_role != ROLE_SERVICE)
|
||||
continue;
|
||||
|
||||
uint32_t reset = 0;
|
||||
uint32_t reset = 1;
|
||||
service_dump_calls_per_lcore(f, i, reset);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user