On Wed, Mar 10, 2021 at 3:15 AM Feifei Wang <[email protected]> wrote:
>
> The measure_perf function should be executed after worker threads exit
> to collect correct perf data. Otherwise, while workers are running, the
> main thread may get incomplete data from workers.
>
> In the meanwhile, remove unnecessary barrier in the test.
> For signal variables "ldata.done" and "ldata.start", no operations
> should keep the order that being executed after them. So the wmb after
> them can be moved.
>
> Fixes: 16a277a24c9f ("test/trace: add performance test cases")
> Cc: [email protected]
>
> Suggested-by: Honnappa Nagarahalli <[email protected]>
> Signed-off-by: Feifei Wang <[email protected]>
> Reviewed-by: Honnappa Nagarahalli <[email protected]>
> Reviewed-by: Ruifeng Wang <[email protected]>
> Acked-by: Pavan Nikhilesh <[email protected]>
> Acked-by: Jerin Jacob <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to