commit | e330971ec5c520549131ad45002e61ff00171d2c | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Fri Aug 16 12:49:59 2024 +0800 |
committer | Henrik Brix Andersen <henrik@brixandersen.dk> | Tue Aug 20 14:45:23 2024 +0200 |
tree | 9cd3ef7ce9f6dae07008637740f60f44db990296 | |
parent | d68642c73262ad83b73cda1335eb0b77c4851e8f [diff] |
subsys/profiling: kill timer in a single place Currently, the timer is stopped: - in the timer handler, when the buffer is full, or - in work handler, when time's up In any cases, the work handler is bounded to run to print the message, so we can kill the timer there instead. Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>