STRUCT KFD_IOCTL_PMC_SETTINGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct kfd_ioctl_pmc_settings(9) β€” bestie edition

okay so we're in the Kernel API Manual today, and the star of the show is struct kfd_ioctl_pmc_settings. it's giving "small struct, big job" and honestly? we're obsessed. πŸŽ€


✨ NAME ✨

struct kfd_ioctl_pmc_settings β€” this one's whole personality is enabling and disabling GPU-specific profiler settings. that's it, that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

here's the whole thing, no notes, exactly as it lives in the header:

struct kfd_ioctl_pmc_settings {
    __u32 gpu_id;
    __u32 lock;
    __u32 perfcount_enable;
 };

three __u32 fields. adorable. iconic. not a single byte wasted. 🫢


πŸ¦‹ Members πŸ¦‹

so the page does the thing where it puts up a Members heading and then… nothing. literally nothing. an empty section. main character energy of a heading with no content underneath it 😭

no cap, this manual page doesn't spell out per-member descriptions here, so bestie, don't come for me asking what each field does in detail β€” the source of truth for that is the header itself, and it's linked down below ⬇️


πŸ‘‘ SEE ALSO πŸ‘‘

a LOT of friends in the group chat. every single one of these, exactly as written:

  • Kernel file ./include/uapi/linux/kfd_ioctl.h struct
  • struct kfd_ioctl_criu_args(9)
  • enum kfd_ioctl_svm_op(9)
  • enum kfd_ioctl_svm_attr_type(9)
  • struct kfd_ioctl_svm_attribute(9)
  • struct kfd_ioctl_svm_args(9)
  • struct kfd_ioctl_set_xnack_mode_args(9)
  • struct kfd_ioctl_runtime_enable_args(9)
  • struct kfd_ioctl_dbg_trap_enable_args(9)
  • struct kfd_ioctl_dbg_trap_send_runtime_event_args(9)
  • struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args(9)
  • struct kfd_ioctl_dbg_trap_set_wave_launch_override_args(9)
  • struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args(9)
  • struct kfd_ioctl_dbg_trap_suspend_queues_args(9)
  • struct kfd_ioctl_dbg_trap_resume_queues_args(9)
  • struct kfd_ioctl_dbg_trap_set_node_address_watch_args(9)
  • struct kfd_ioctl_dbg_trap_clear_node_address_watch_args(9)
  • struct kfd_ioctl_dbg_trap_set_flags_args(9)
  • struct kfd_ioctl_dbg_trap_query_debug_event_args(9)
  • struct kfd_ioctl_dbg_trap_query_exception_info_args(9)
  • struct kfd_ioctl_dbg_trap_queue_snapshot_args(9)
  • struct kfd_ioctl_dbg_trap_device_snapshot_args(9)
  • struct kfd_ioctl_dbg_trap_args(9)

like, the whole kfd_ioctl_dbg_trap_* family showed up to the party. respect. πŸ”₯


little reminder bestie: this page is short on purpose, so don't go reading extra behaviour into it. everything useful lives in that header file at ./include/uapi/linux/kfd_ioctl.h πŸ’–

and that's the page! source is ./include/uapi/linux, dated October 2026, from the Kernel API Manual β€” slay, go read the header, mwah πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from