kvm_pmu_get_counter_value(9)
π kvm_pmu_get_counter_value β NAME π
okay so bestie, this is the manual page for kvm_pmu_get_counter_value from the Kernel API Manual (section 9, kernel-space tea β), and it does exactly one iconic thing: get PMU counter value. that's it, that's the whole vibe. no cap. β¨
π«Ά SYNOPSIS π«Ά
u64 kvm_pmu_get_counter_value (struct kvm_vcpu *vcpu , u64 select_idx );
literally just hand it a vcpu and an index and it hands you back a u64. main character signature fr fr π
πΈ ARGUMENTS πΈ
vcpuβ the vcpu pointer. like, the whole vcpu. you know the one. πselect_idxβ the counter index. which counter you're asking about, bestie. pick one. π
π¦ SEE ALSO π¦
so the kernel file for this one lives at ./arch/arm64/kvm/pmu-emul.c β that's the source of truth, go look π β and here's the whole friend group, all the related pages, no gatekeeping:
kvm_pmc_is_64bit(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_init(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)
like, the entire PMU squad. read them all, iykyk π
ngl there is nothing else on this page β no exit statuses, no env vars, no bugs section, no warnings. just vibes, a function signature, and a very long friend list. slay. π
β¨ that's the whole page, bestie β¨ this one's hanging out in ./arch/arm64/kvm, dated October 2026, and the manual entry itself is kvm_pmu_get_counter_value(9) β mwah, go get that counter value ππ§π
π¦ 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