Skip to content
Commit e0d5d93a authored by Max Krummenacher's avatar Max Krummenacher Committed by Anuj Mittal
Browse files

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: default avatarMax Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 8406e83a)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent a6cc2682
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment