aboutsummaryrefslogtreecommitdiff
path: root/afdo_tools/update_kernel_afdo.py
diff options
context:
space:
mode:
Diffstat (limited to 'afdo_tools/update_kernel_afdo.py')
-rwxr-xr-xafdo_tools/update_kernel_afdo.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/afdo_tools/update_kernel_afdo.py b/afdo_tools/update_kernel_afdo.py
index 0a299bd2..a5c11fba 100755
--- a/afdo_tools/update_kernel_afdo.py
+++ b/afdo_tools/update_kernel_afdo.py
@@ -76,11 +76,18 @@ class KernelVersion:
return cls(major=int(m.group(1)), minor=int(m.group(2)))
+ARM_KERNEL_5_15 = (Arch.ARM, KernelVersion(5, 15))
+
# Versions that rolling should be skipped on, for one reason or another.
SKIPPED_VERSIONS: Dict[int, Iterable[Tuple[Arch, KernelVersion]]] = {
# Kernel tracing was disabled on ARM in 114, b/275560674
- 114: ((Arch.ARM, KernelVersion(5, 15)),),
- 115: ((Arch.ARM, KernelVersion(5, 15)),),
+ 114: (ARM_KERNEL_5_15,),
+ 115: (ARM_KERNEL_5_15,),
+ # Kernel profiles are no longer generated as of M126. Don't complain about
+ # them.
+ 124: (ARM_KERNEL_5_15,),
+ 125: (ARM_KERNEL_5_15,),
+ 126: (ARM_KERNEL_5_15,),
}