kvm_pmu_vcpu_init(9)
π NAME π
okay so bestie, welcome to kvm_pmu_vcpu_init, straight from the Kernel API Manual, section 9, iykyk π
. Its whole vibe is literally: assign pmu counter idx for cpu. That's the assignment, no cap.
πΈ SYNOPSIS πΈ
here's the exact signature, don't come for me:
void kvm_pmu_vcpu_init (struct kvm_vcpu *vcpu );
β¨ ARGUMENTS β¨
vcpuβ the vcpu pointer. literally the one pointer you hand over π«Ά.
π¦ SEE ALSO π¦
if you're in your research era, the kernel file is ./arch/arm64/kvm/pmu-emul.c, and these are the linked icons:
kvm_pmc_is_64bit(9)kvm_pmu_get_counter_value(9)kvm_pmu_set_counter_value(9)kvm_pmu_set_counter_value_user(9)kvm_pmu_release_perf_event(9)kvm_pmu_stop_counter(9)kvm_pmu_vcpu_destroy(9)kvm_pmu_flush_hwstate(9)kvm_pmu_sync_hwstate(9)kvm_pmu_software_increment(9)kvm_pmu_handle_pmcr(9)kvm_pmu_create_perf_event(9)kvm_pmu_set_counter_event_type(9)kvm_arm_pmu_get_max_counters(9)kvm_arm_set_default_pmu(9)kvm_vcpu_read_pmcr(9)
mwah π this cutie lives in ./arch/arm64/kvm, and the page is stamped October 2026 β periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms