summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2025-02-09 16:38:35 +0300
committerMarc Zyngier <maz@kernel.org>2025-05-19 13:35:30 +0300
commita764b56bf90b6d758ff21408c13cd686c2519ef9 (patch)
treeaecb2848a1b8a44b4565809fbed6c05dbec1d704 /tools/perf/scripts/python/flamegraph.py
parentc6cbe6a4c1bdce88bb0384df0e3679e4ef81dcd6 (diff)
downloadlinux-a764b56bf90b6d758ff21408c13cd686c2519ef9.tar.xz
KVM: arm64: Allow kvm_has_feat() to take variable arguments
In order to be able to write more compact (and easier to read) code, let kvm_has_feat() and co take variable arguments. This enables constructs such as: #define FEAT_SME ID_AA64PFR1_EL1, SME, IMP if (kvm_has_feat(kvm, FEAT_SME)) [...] which is admitedly more readable. Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions