Lines Matching defs:cache_result
253 static char *event_cache_name(u8 cache_type, u8 cache_op, u8 cache_result)
257 if (cache_result) {
260 hw_cache_result[cache_result][0]);
293 u8 cache_type, cache_op, cache_result;
303 cache_result = (config >> 16) & 0xff;
304 if (cache_result > PERF_COUNT_HW_CACHE_RESULT_MAX)
310 return event_cache_name(cache_type, cache_op, cache_result);
352 int cache_type = -1, cache_op = -1, cache_result = -1;
362 while ((cache_op == -1 || cache_result == -1) && *s == '-') {
375 if (cache_result == -1) {
376 cache_result = parse_aliases(&s, hw_cache_result,
378 if (cache_result >= 0)
399 if (cache_result == -1)
400 cache_result = PERF_COUNT_HW_CACHE_RESULT_ACCESS;
402 attr->config = cache_type | (cache_op << 8) | (cache_result << 16);