perf stat aggregation: Add separate die member
[linux-2.6-microblaze.git] / tools / perf / util / stat-display.c
index 5a756c8..dcce753 100644 (file)
@@ -74,7 +74,7 @@ static void aggr_printout(struct perf_stat_config *config,
        case AGGR_CORE:
                fprintf(config->output, "S%d-D%d-C%*d%s%*d%s",
                        id.socket,
-                       cpu_map__id_to_die(id.id),
+                       id.die,
                        config->csv_output ? 0 : -8,
                        cpu_map__id_to_cpu(id.id),
                        config->csv_sep,
@@ -86,7 +86,7 @@ static void aggr_printout(struct perf_stat_config *config,
                fprintf(config->output, "S%d-D%*d%s%*d%s",
                        id.socket,
                        config->csv_output ? 0 : -8,
-                       cpu_map__id_to_die(id.id << 16),
+                       id.die,
                        config->csv_sep,
                        config->csv_output ? 0 : 4,
                        nr,
@@ -114,7 +114,7 @@ static void aggr_printout(struct perf_stat_config *config,
                if (evsel->percore && !config->percore_show_thread) {
                        fprintf(config->output, "S%d-D%d-C%*d%s",
                                id.socket,
-                               cpu_map__id_to_die(id.id),
+                               id.die,
                                config->csv_output ? 0 : -3,
                                cpu_map__id_to_cpu(id.id), config->csv_sep);
                } else if (id.id > -1) {