]> git.ipfire.org Git - thirdparty/openembedded/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)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 10 May 2022 13:44:32 +0000 (21:44 +0800)
commite0d5d93a18d1682f3393fc10133f08009f008601
tree53e70afd94cc69581879147ffa9766b4f664f70d
parenta6cc268224194218809b56874c70b87c7df4a94f
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>
(cherry picked from commit 8406e83ade1c34d8a7d8063f2e7445aafa471721)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-kernel/perf/perf/sort-pmuevents.py