mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 08:56:11 +00:00
lib/core: Make the start of the debug output more clear
I missed the quiet "Log start" between the test failure and the debug output (and so was very confused by the repetition). You have to shout at me! v2: Thomas suggested I make the end of the logging clear as well. Since I completely missed that there was a end marker, he must be right! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
e23accf437
commit
b8db5d60e0
@ -284,8 +284,7 @@ static void _igt_log_buffer_dump(void)
|
||||
}
|
||||
|
||||
pthread_mutex_lock(&log_buffer_mutex);
|
||||
|
||||
fprintf(stderr, "Log Start\n");
|
||||
fprintf(stderr, "**** DEBUG ****\n");
|
||||
|
||||
i = log_buffer.start;
|
||||
do {
|
||||
@ -297,9 +296,8 @@ static void _igt_log_buffer_dump(void)
|
||||
/* reset the buffer */
|
||||
log_buffer.start = log_buffer.end = 0;
|
||||
|
||||
fprintf(stderr, "**** END ****\n");
|
||||
pthread_mutex_unlock(&log_buffer_mutex);
|
||||
|
||||
fprintf(stderr, "Log End\n");
|
||||
}
|
||||
|
||||
__attribute__((format(printf, 1, 2)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user