|
@@ -1173,7 +1173,7 @@ static int build_caches(struct cpu_cache_level caches[], u32 size, u32 *cntp)
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#define MAX_CACHES 2000
|
|
|
|
|
|
|
+#define MAX_CACHES (MAX_NR_CPUS * 4)
|
|
|
|
|
|
|
|
static int write_cache(struct feat_fd *ff,
|
|
static int write_cache(struct feat_fd *ff,
|
|
|
struct perf_evlist *evlist __maybe_unused)
|
|
struct perf_evlist *evlist __maybe_unused)
|