This set of 3 patches adds a new API stats_container_append to libstats. This function adds new stats_record_t to the record list in stats_container_t. It also replaces the occurrences of data->size with data->index and modifies the test-cases to call the append function. Changelog
---------
- Added index to stats_container_t struct
- Added Append function to add new stats_record_t to records list of stats_container_t
- Replaced the occurrences of data->size by data->index in libstats.c
- Modified the realtime testcases to include call to the append function.
[PATCH 3/3] libstats: Modify testcases to call the append function: This patch modifies the testcases to call the stats_container_append function.
Signed-off-by: Kiran Prakash <kiran@linux.vnet.ibm.com>,
Acked-by: Gowrishankar <gowrishankar.m@in.ibm.com>,
Acked-by: Darren Hart <dvhltc@us.ibm.com>,
Acked-by: Sripathi Kodi <sripathik@in.ibm.com>,
11 files changed