]> code.ossystems Code Review - openembedded-core.git/commit
perf: sort-pmuevents: allow for additional type qualifiers and storage class
authorMax Krummenacher <max.oss.09@gmail.com>
Mon, 22 Nov 2021 16:34:59 +0000 (17:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Nov 2021 16:58:55 +0000 (16:58 +0000)
commit8406e83ade1c34d8a7d8063f2e7445aafa471721
treee748803a2d7a6fec30169f81f4ad491fc4f8c6ef
parente1382583cd5060be301afaa9998ccf250cc8bca3
perf: sort-pmuevents: allow for additional type qualifiers and storage class

With kernel 5.16 some structs in pmu-events do get a const qualifier, some
a static const storage class and qualifier.

The current sort-pmuevents cannot cope with that and drops all struct
arrays with such additional elements. This then leads to compiler errors.

Allow '^struct', '^const struct', '^static struct', '^static const struct'.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
meta/recipes-kernel/perf/perf/sort-pmuevents.py