aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2022-12-01 11:37:50 +0000
committerPalmer Dabbelt <[email protected]>2022-12-13 06:21:25 +0000
commite923f4625ed3ad7656c3f9f086c898798bafbbc5 (patch)
tree74a38b5b6659e88c3e8402a180b117ec8afead9f /tools/perf/scripts/python/flamegraph.py
parentMerge patch series "RISC-V: Align the shadow stack" (diff)
downloadkernel-e923f4625ed3ad7656c3f9f086c898798bafbbc5.tar.gz
kernel-e923f4625ed3ad7656c3f9f086c898798bafbbc5.zip
riscv: Apply a static assert to riscv_isa_ext_id
Add a static assert to ensure a RISCV_ISA_EXT_* enum is never created with a value >= RISCV_ISA_EXT_MAX. We can do this by putting RISCV_ISA_EXT_ID_MAX to more work. Before it was redundant with RISCV_ISA_EXT_MAX and hence only used to document the limit. Now it grows with the enum and is used to check the limit. Signed-off-by: Andrew Jones <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions