OSDN Git Service

drm/amd/display: Prefix event prints with ==Event==
authorAnthony Koo <Anthony.Koo@amd.com>
Tue, 8 May 2018 15:24:05 +0000 (11:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:20:23 +0000 (12:20 -0500)
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/stats/stats.c

index 3f7d47f..fa0665d 100644 (file)
@@ -240,7 +240,7 @@ void mod_stats_dump(struct mod_stats *mod_stats)
        for (int i = 0; i < core_stats->entry_id; i++) {
                if (event_index < core_stats->event_index &&
                                i == events[event_index].entry_id) {
-                       DISPLAY_STATS("%s\n", events[event_index].event_string);
+                       DISPLAY_STATS("==Event==%s\n", events[event_index].event_string);
                        event_index++;
                } else if (time_index < core_stats->index &&
                                i == time[time_index].entry_id) {