From: James Clark james.clark@arm.com
This printf is the only occurrence outside of the tests. When using OpenCSD with perf in TUI mode, printfs can corrupt the UI and make perf's own error messages hard to see. The proper way to print would be pr_warning() or ui__warning() which aren't available here.
I don't see an easy way of making this work, and I don't think this printf is that useful either, so remove it.
Signed-off-by: James Clark james.clark@arm.com --- decoder/source/trc_frame_deformatter.cpp | 1 - 1 file changed, 1 deletion(-)
diff --git a/decoder/source/trc_frame_deformatter.cpp b/decoder/source/trc_frame_deformatter.cpp index 4f7c403..dc12e3f 100644 --- a/decoder/source/trc_frame_deformatter.cpp +++ b/decoder/source/trc_frame_deformatter.cpp @@ -437,7 +437,6 @@ int TraceFmtDcdImpl::checkForResetFSyncPatterns()
if (num_fsyncs) { - printf("Frame deformatter: Found %d FSYNCS\n",num_fsyncs); if ((num_fsyncs % 4) == 0) { // reset the upstream decoders