Home | History | Annotate | Download | only in util

Lines Matching full:cache_result

260 static char *event_cache_name(u8 cache_type, u8 cache_op, u8 cache_result)
264 if (cache_result) {
267 hw_cache_result[cache_result][0]);
325 u8 cache_type, cache_op, cache_result;
335 cache_result = (config >> 16) & 0xff;
336 if (cache_result > PERF_COUNT_HW_CACHE_RESULT_MAX)
342 return event_cache_name(cache_type, cache_op, cache_result);
384 int cache_type = -1, cache_op = -1, cache_result = -1;
394 while ((cache_op == -1 || cache_result == -1) && *s == '-') {
407 if (cache_result == -1) {
408 cache_result = parse_aliases(&s, hw_cache_result,
410 if (cache_result >= 0)
431 if (cache_result == -1)
432 cache_result = PERF_COUNT_HW_CACHE_RESULT_ACCESS;
434 attr->config = cache_type | (cache_op << 8) | (cache_result << 16);