Re: [PATCH 3/6] perf test: Test record with --threads option

From: Namhyung Kim
Date: Wed Sep 07 2022 - 13:41:31 EST


On Wed, Sep 7, 2022 at 6:33 AM Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
>
> On 7/09/22 09:46, Namhyung Kim wrote:
> > @@ -90,6 +90,19 @@ test_per_thread() {
> > err=1
> > return
> > fi
> > + if ! perf record -e cpu-clock,cs --per-thread --threads=core ${testopt} \
> > + -o ${perfdata} ${testprog} 2> /dev/null
>
> This does not seem to be possible, because it gives the error:
>
> --per-thread option is mutually exclusive to parallel streaming mode.
> Failed to initialize parallel data streaming masks

Oh, ok. Let's drop this change then.

Thanks,
Namhyung