Searched refs:cache_op (Results 1 – 1 of 1) sorted by relevance
252 static int is_cache_op_valid(u8 cache_type, u8 cache_op) in is_cache_op_valid() argument254 if (hw_cache_stat[cache_type] & COP(cache_op)) in is_cache_op_valid()260 static char *event_cache_name(u8 cache_type, u8 cache_op, u8 cache_result) in event_cache_name() argument266 hw_cache_op[cache_op][0], in event_cache_name()270 hw_cache_op[cache_op][1]); in event_cache_name()325 u8 cache_type, cache_op, cache_result; in __event_name() local331 cache_op = (config >> 8) & 0xff; in __event_name()332 if (cache_op > PERF_COUNT_HW_CACHE_OP_MAX) in __event_name()339 if (!is_cache_op_valid(cache_type, cache_op)) in __event_name()342 return event_cache_name(cache_type, cache_op, cache_result); in __event_name()[all …]