pmu: implement event mapping function.

Change-Id: Iac1ec99152b17a19dba0bf1a35f07724b8abc5a1
This commit is contained in:
TOIDA,Suguru
2019-04-09 10:03:11 +09:00
parent 3e267e24cb
commit 06af2d62c6
6 changed files with 27 additions and 11 deletions

View File

@ -4094,7 +4094,7 @@ static int mc_perf_event_alloc(struct mc_perf_event **out,
extra_config = ihk_mc_hw_cache_extra_reg_map(attr->config);
break;
case PERF_TYPE_RAW :
val = attr->config;
val = ihk_mc_raw_event_map(attr->config);
break;
default: