aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorShuai Xue <[email protected]>2021-08-23 19:56:54 +0800
committerArd Biesheuvel <[email protected]>2021-08-27 16:03:01 +0200
commit1be72c8e0786727df375f11c8178ce7e65eea20e (patch)
tree452ab6ca0fc0666a8eb4444b20afb27e3c635b7d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentb31eea2e04c1002e5cb864eefdc718b70d2cb08c (diff)
efi: cper: check section header more appropriately
When checking a generic status block, we iterate over all the generic data blocks. The loop condition checks that the generic data block is valid. Because the size of data blocks (excluding error data) may vary depending on the revision and the revision is contained within the data block, we should ensure that enough of the current data block is valid appropriately for different revision. Signed-off-by: Shuai Xue <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions