[PATCH 2/3] perf/x86/mbm: Store bytes counted for mbm during recycle

2016-04-27 Thread Vikas Shivappa
For MBM, since we report total bytes for the duration the perf counts, we need to keep the total bytes counted every time we loose an RMID. Introduce rc_count(recycle count) per event keep this history count(all bytes counted before the current RMID). If we do not keep this count separately then

[PATCH 2/3] perf/x86/mbm: Store bytes counted for mbm during recycle

2016-04-27 Thread Vikas Shivappa
For MBM, since we report total bytes for the duration the perf counts, we need to keep the total bytes counted every time we loose an RMID. Introduce rc_count(recycle count) per event keep this history count(all bytes counted before the current RMID). If we do not keep this count separately then