[PATCH] trace: proftool: dump-ftrace should write funcgraph times in ns not us
Tom Rini
trini at konsulko.com
Wed Jan 1 18:54:19 CET 2025
On Fri, 06 Dec 2024 11:11:31 +0100, Jerome Forissier wrote:
> When converting a U-Boot trace records file to ftrace function graph
> format for use by trace-cmd ('proftool -f funcgraph dump-ftrace'), the
> time associated to each function is incorrectly saved in microseconds
> instead of nanoseconds. Multuply the value by 1000 to fix the issue.
>
> With this change, the trace-cmd output looks consistent. Here is an
> example with udelay(25) added to mem_malloc_init() as a test case:
>
> [...]
Applied to u-boot/next, thanks!
--
Tom
More information about the U-Boot
mailing list