All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe][OE-core][Patch 0/2] perf: sort-pmuevents: some fixes
@ 2021-11-22 16:34 Max Krummenacher
  2021-11-22 16:34 ` [oe][OE-core][Patch 1/2] perf: sort-pmuevents: don't drop elements Max Krummenacher
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Max Krummenacher @ 2021-11-22 16:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: bruce.ashfield, Max Krummenacher

I am trying out a kernel recipe using linux master, 5.16-rc2. I found
that perf fails to build in do_compile with such a setup.
Root cause is that the kernel did add 'static' and 'const' to the
arrays of structs which sort-pmuevents does sort.
This is addressed in the second commit.

While at it I noticed that there are some struct arrays which neither
have a name or cpuid element with 1 array element. That 1 element was
dropped. I did not verify if that causes any issues at runtime, however
that behaviour was improved with the first commit.

Note that the kernel itself doesn't build either as after 5.15 it now
does try to run the dt_binding_check for which the kernel recipe does
not provide whatever stuff is needed.
I just did a revert patch for commit 53182e81f47d ("kbuild: Enable
DT schema checks for %.dtb targets") to get over that.

Max Krummenacher (2):
  perf: sort-pmuevents: don't drop elements
  perf: sort-pmuevents: allow for additional type qualifiers and storage
    class

 .../perf/perf/sort-pmuevents.py               | 28 +++++++++++--------
 1 file changed, 16 insertions(+), 12 deletions(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-11-23 21:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 16:34 [oe][OE-core][Patch 0/2] perf: sort-pmuevents: some fixes Max Krummenacher
2021-11-22 16:34 ` [oe][OE-core][Patch 1/2] perf: sort-pmuevents: don't drop elements Max Krummenacher
2021-11-22 16:34 ` [oe][OE-core][Patch 2/2] perf: sort-pmuevents: allow for additional type qualifiers and storage class Max Krummenacher
2021-11-22 16:51 ` [oe][OE-core][Patch 0/2] perf: sort-pmuevents: some fixes Bruce Ashfield
2021-11-22 17:23   ` Daniel Díaz
2021-11-23  1:39     ` Bruce Ashfield
2021-11-23  5:05       ` Bruce Ashfield
2021-11-23  1:41 ` Bruce Ashfield
2021-11-23 13:48   ` Max Krummenacher
2021-11-23 13:55     ` Bruce Ashfield
2021-11-23 13:58       ` Max Krummenacher
2021-11-23 14:04         ` Bruce Ashfield
     [not found]         ` <16BA31E66A619EB2.13215@lists.openembedded.org>
2021-11-23 21:40           ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.