commit | d4cd1be390bf2623589ab262900baebb239ad17c | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Fri Aug 16 12:13:02 2024 +0800 |
committer | Henrik Brix Andersen <henrik@brixandersen.dk> | Tue Aug 20 14:45:23 2024 +0200 |
tree | e0a1ffb5492a673a07ff11736d35aff837ae68da | |
parent | f213b5b95f40ed2731ffa8cf382836e0d8360561 [diff] |
subsys/profiling: reset `buf_full` flag when we empty the buf The `buf_full` flag is set when it is full, but dumping the buf currently only resets the `idx`, this means that the perf command only works when the buffer hasn't been full before. Reset the flag when we clear the buffer. Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>