diff options
| author | Like Xu <[email protected]> | 2022-05-18 21:25:07 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-08 04:48:53 -0400 |
| commit | 76d287b2342e1906e399fd19d6500013aa074a50 (patch) | |
| tree | d8b2a6e419b461fa5e977be04349eb808c9b3e89 /tools/perf/scripts/python/bin | |
| parent | fb121aaf19cd5047a01599debbb85a2c15275727 (diff) | |
KVM: x86/pmu: Drop "u8 ctrl, int idx" for reprogram_fixed_counter()
Since afrer reprogram_fixed_counter() is called, it's bound to assign
the requested fixed_ctr_ctrl to pmu->fixed_ctr_ctrl, this assignment step
can be moved forward (the stale value for diff is saved extra early),
thus simplifying the passing of parameters.
No functional change intended.
Signed-off-by: Like Xu <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions