Lines Matching refs:cache
152 bool node, socket, die, cluster, cache, core, thread, no_aggr; member
168 if (opt_mode->cache) in opt_aggr_mode_to_aggr_mode()
1174 opt_aggr_mode->cache = true; in parse_cache_level()
1211 static int cpu__get_cache_details(struct perf_cpu cpu, struct perf_cache *cache) in cpu__get_cache_details() argument
1218 cache->cache_lvl = (cache_level > MAX_CACHE_LVL) ? 0 : cache_level; in cpu__get_cache_details()
1219 cache->cache = -1; in cpu__get_cache_details()
1249 cache->cache_lvl = caches[max_level_index].level; in cpu__get_cache_details()
1250 cache->cache = cpu__get_cache_id_from_map(cpu, caches[max_level_index].map); in cpu__get_cache_details()
1259 cache->cache_lvl = cache_level; in cpu__get_cache_details()
1260 cache->cache = cpu__get_cache_id_from_map(cpu, caches[i].map); in cpu__get_cache_details()
1286 struct perf_cache cache; in aggr_cpu_id__cache() local
1292 ret = cpu__get_cache_details(cpu, &cache); in aggr_cpu_id__cache()
1296 id.cache_lvl = cache.cache_lvl; in aggr_cpu_id__cache()
1297 id.cache = cache.cache; in aggr_cpu_id__cache()
1571 id->cache = -1; in perf_env__get_cache_id_for_cpu()
1594 id->cache = cpu__get_cache_id_from_map(cpu, caches[i].map); in perf_env__get_cache_id_for_cpu()