mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Update formatting in dynamic memory tracking
Format as follows: backtrace start call_1 ... call_n backtrace end Related-To: NEO-6837 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
667594e8eb
commit
29e4518407
@@ -33,7 +33,7 @@ void collectBacktrace() {
|
||||
auto pointersCount = backtrace(addressess, backtraceBufferSize);
|
||||
functions = backtrace_symbols(addressess, pointersCount);
|
||||
|
||||
printf("\n backtrace collected -- START --");
|
||||
printf("\n backtrace collected -- START --\n");
|
||||
|
||||
for (int symbolId = 0; symbolId < pointersCount; symbolId++) {
|
||||
Dl_info info;
|
||||
@@ -49,7 +49,7 @@ void collectBacktrace() {
|
||||
free(realname);
|
||||
}
|
||||
|
||||
printf("\n backtrace collected -- END --");
|
||||
printf(" backtrace collected -- END --");
|
||||
|
||||
free(functions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user