Home
last modified time | relevance | path

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

/optee_os/mk/
H A Dconfig.mkd1492098c01db9e8dae0c6983ee635b6ab48ff14 Thu Aug 29 14:33:14 UTC 2019 Jerome Forissier <jerome@forissier.org> ftrace: allow display of larger durations

Currently the ftrace buffer shows durations in microseconds and modulo
1000000 us. It is problematic if values larger than one second are
measured.

This patch makes sure that no invalid value is ever displayed when an
overflow occurs. Instead, the trace will contain dashes, such as
"--------- us".

In addition, the unit is changed from microseconds (us) to milliseconds
(ms) when the duration exceeds a predefined value set by CFG_FTRACE_US_MS
(default: 10000 us).

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>