Home
last modified time | relevance | path

Searched refs:cache_op (Results 1 – 1 of 1) sorted by relevance

/tools/perf/util/
Dparse-events.c342 int cache_type = -1, cache_op = -1, cache_result = -1; in parse_events_add_cache() local
362 if (cache_op == -1) { in parse_events_add_cache()
363 cache_op = parse_aliases(str, perf_evsel__hw_cache_op, in parse_events_add_cache()
365 if (cache_op >= 0) { in parse_events_add_cache()
366 if (!perf_evsel__is_cache_op_valid(cache_type, cache_op)) in parse_events_add_cache()
383 if (cache_op == -1) in parse_events_add_cache()
384 cache_op = PERF_COUNT_HW_CACHE_OP_READ; in parse_events_add_cache()
393 attr.config = cache_type | (cache_op << 8) | (cache_result << 16); in parse_events_add_cache()