[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM9d7cgKwidyjWOH5uf-Y2BHF0VACOrR=fdXLz5szuzbHdVaaQ@mail.gmail.com>
Date: Wed, 7 Sep 2022 10:38:34 -0700
From: Namhyung Kim <namhyung@...nel.org>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...nel.org>, Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Ian Rogers <irogers@...gle.com>,
linux-perf-users <linux-perf-users@...r.kernel.org>
Subject: Re: [PATCH 2/6] perf test: Use a test program in perf record tests
Hi Adrian,
On Wed, Sep 7, 2022 at 3:45 AM Adrian Hunter <adrian.hunter@...el.com> wrote:
>
> On 7/09/22 09:46, Namhyung Kim wrote:
> > If the system has cc it could build a test program with two threads
> > and then use it for more detailed testing. Also it adds initial delay
> > of 3ms to profile a multi-threaded target. This change make the test
> > failing but that's what we want to check for now.
>
> So the delay is just to get a separate dummy event?
No, it's actually to wait for the new thread.
>
> I hit the issue from this patch:
>
> https://lore.kernel.org/lkml/20220711180706.3418612-1-kan.liang@linux.intel.com/
>
> That is, if I apply the patch above then the test passes, otherwise it fails always.
It's good to find/verify the bug with this :)
Thanks,
Namhyung
Powered by blists - more mailing lists