event/sw: support xstats
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 30 Mar 2017 19:30:42 +0000 (20:30 +0100)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 4 Apr 2017 17:19:52 +0000 (19:19 +0200)
commitc1ad03df7ad5c05e2a12dc07f5f1417197515ded
tree6e24d509a39dc2d358602d7a2d54db9c6ac64dcd
parentc66baa68e4532d052c238a174adce3af00881175
event/sw: support xstats

Add support for xstats to report out on the state of the eventdev.
Useful for debugging and for unit tests, as well as observability
at runtime and performance tuning of apps to work well with the
scheduler.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
drivers/event/sw/Makefile
drivers/event/sw/sw_evdev.c
drivers/event/sw/sw_evdev.h
drivers/event/sw/sw_evdev_xstats.c [new file with mode: 0644]