aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-05 15:55:04 -0300
committerIlpo Järvinen <[email protected]>2024-03-12 12:48:13 +0200
commit5878e5b760b6fcf7bc00dec085ba2b439a929871 (patch)
tree435e735eb031f85319d20677faa1f3776de906d0 /tools/perf/util/trace-event-scripting.c
parent57221a07ff37ff356f9265acd228bc3c8744c8fc (diff)
platform/x86: make fw_attr_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take a const *"), the driver core allows for struct class to be in read-only memory, so move the fw_attr_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Greg Kroah-Hartman <[email protected]> Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: "Ricardo B. Marliere" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions