[PATCH v2 20/32] perf/x86/intel/cqm: handle inherit event and inherit_stat flag

2016-05-11 Thread David Carrillo-Cisneros
Since inherited events are part of the same cqm cache group, they share the RMID and therefore they cannot provide the granularity required by inherit_stats. Changing this would in the current approach would require to create a subtree of monrs for each parent event, with its inherited events as

[PATCH v2 20/32] perf/x86/intel/cqm: handle inherit event and inherit_stat flag

2016-05-11 Thread David Carrillo-Cisneros
Since inherited events are part of the same cqm cache group, they share the RMID and therefore they cannot provide the granularity required by inherit_stats. Changing this would in the current approach would require to create a subtree of monrs for each parent event, with its inherited events as