Skip to content
Commit 8406e83a authored by Max Krummenacher's avatar Max Krummenacher Committed by Richard Purdie
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>
parent e1382583
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