On Wed, Mar 10, 2021 at 3:15 AM Feifei Wang <feifei.wa...@arm.com> 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: sta...@dpdk.org > > Suggested-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> > Signed-off-by: Feifei Wang <feifei.wa...@arm.com> > Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> > Acked-by: Pavan Nikhilesh <pbhagavat...@marvell.com> > Acked-by: Jerin Jacob <jer...@marvell.com>
Applied, thanks. -- David Marchand