Home
last modified time | relevance | path

Searched hist:b0c596ac807f3e62a969434df0e5524faf4cf32c (Results 1 – 1 of 1) sorted by relevance

/optee_os/lib/libutee/
H A Dtrace_ext.cb0c596ac807f3e62a969434df0e5524faf4cf32c Mon Aug 21 06:51:11 UTC 2017 Jerome Forissier <jerome.forissier@linaro.org> libutee: printf(): remove prefix and other non-standard behavior

Our implementation of printf() does not comply with the standards,
because it adds a prefix to the output and may print truncation
characters. By doing so it becomes inconsistent with puts(). It is a
problem because the compiler has the ability to perform optimizations
and, in some cases, may invoke puts() instead of printf().

Therefore, remove any output that is not strictly specified in the
printf() parameters.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>