Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Richard Purdie
On Fri, 2023-02-03 at 11:39 -0500, Bruce Ashfield wrote: > On Fri, Feb 3, 2023 at 11:34 AM Richard Purdie > wrote: > > > > On Fri, 2023-02-03 at 11:02 -0500, Bruce Ashfield wrote: > > > On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie > > > wrote: > > > > > > > > The pmu-events.c file is generate

Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Bruce Ashfield
On Fri, Feb 3, 2023 at 11:34 AM Richard Purdie wrote: > > On Fri, 2023-02-03 at 11:02 -0500, Bruce Ashfield wrote: > > On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie > > wrote: > > > > > > The pmu-events.c file is generated by a python script making os.scandir() > > > calls. The return value is "

Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Richard Purdie
On Fri, 2023-02-03 at 11:02 -0500, Bruce Ashfield wrote: > On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie > wrote: > > > > The pmu-events.c file is generated by a python script making os.scandir() > > calls. The return value is "order on disk" which can cary between machines. > > > > Add in a se

Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Bruce Ashfield
On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie wrote: > > The pmu-events.c file is generated by a python script making os.scandir() > calls. The return value is "order on disk" which can cary between machines. > > Add in a sed to fix the perf source to sort this data which makes > the pmu-events.c

[OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Richard Purdie
The pmu-events.c file is generated by a python script making os.scandir() calls. The return value is "order on disk" which can cary between machines. Add in a sed to fix the perf source to sort this data which makes the pmu-events.c file deterministic. We should try and upstream this change but w