diff options
| author | Like Xu <[email protected]> | 2022-03-29 23:50:53 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-04-13 13:37:45 -0400 |
| commit | 34886e796c413273908b036df57cc9ae731badae (patch) | |
| tree | bb6e07d123385d286ed2f8128e133689cb2749bf /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8f969c0c3443183972ac7311d2bd656806082579 (diff) | |
KVM: x86: Move .pmu_ops to kvm_x86_init_ops and tag as __initdata
The pmu_ops should be moved to kvm_x86_init_ops and tagged as __initdata.
That'll save those precious few bytes, and more importantly make
the original ops unreachable, i.e. make it harder to sneak in post-init
modification bugs.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Like Xu <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions