aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorWANG Xuerui <[email protected]>2024-02-23 14:36:31 +0800
committerHuacai Chen <[email protected]>2024-02-23 14:36:31 +0800
commitf0f5c4894f89bac9074b45bccc447c3659a0fa6f (patch)
tree0c9d29fcd857ceb01d706504f9450a3e9a1cc708 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentec83f39d2b078d6dd029bbde601835b5368fc886 (diff)
LoongArch: KVM: Streamline kvm_check_cpucfg() and improve comments
All the checks currently done in kvm_check_cpucfg can be realized with early returns, so just do that to avoid extra cognitive burden related to the return value handling. While at it, clean up comments of _kvm_get_cpucfg_mask() and kvm_check_cpucfg(), by removing comments that are merely restatement of the code nearby, and paraphrasing the rest so they read more natural for English speakers (that likely are not familiar with the actual Chinese- influenced grammar). No functional changes intended. Reviewed-by: Bibo Mao <[email protected]> Signed-off-by: WANG Xuerui <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions