rtla/timerlat_aa: Zero thread sum after every sample analysis
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Fri, 4 Aug 2023 15:52:11 +0000 (17:52 +0200)
committerDaniel Bristot de Oliveira <bristot@kernel.org>
Tue, 12 Sep 2023 13:43:17 +0000 (15:43 +0200)
commit02d89917ef68acbe65c7cc2323f1db4429879878
treef27d7959d7043c55eb700fd171ef2722abff58f6
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
rtla/timerlat_aa: Zero thread sum after every sample analysis

The thread thread_thread_sum accounts for thread interference
during a single activation. It was not being zeroed, so it was
accumulating thread interference over all activations.

It was not that visible when timerlat was the highest priority.

Link: https://lore.kernel.org/lkml/97bff55b0141f2d01b47d9450a5672fde147b89a.1691162043.git.bristot@kernel.org
Fixes: 27e348b221f6 ("rtla/timerlat: Add auto-analysis core")
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
tools/tracing/rtla/src/timerlat_aa.c