xe_gt_sriov...print_events(9)
π xe_gt_sriov_pf_monitor_print_events β no cap, it's the Kernel API Manual β¨
okay bestie, real talk: this is the <rainbow>Kernel API Manual</rainbow> page for xe_gt_sriov_pf_monitor_print_events, and it's literally just a little function that spills the tea on adverse events counters. that's it. that's the whole vibe. π«Ά
πΈ NAME πΈ
xe_gt_sriov_pf_monitor_print_events β bestie, it prints adverse events counters. iconic behaviour honestly.
β¨ SYNOPSIS β¨
int xe_gt_sriov_pf_monitor_print_events (struct xe_gt *gt , struct
drm_printer *p );
like, that's the whole signature. she's compact, she's cute, she takes two arguments and she returns an int π
π ARGUMENTS π
gtβ thexe_gtyou're pulling events from. this is the main character of the operation, the one whose counters we're about to show off π¦pβ thedrm_printer. she's the one doing the actual printing, the messenger, the hype woman for the counters π€
π DESCRIPTION π
so what does she do? she prints adverse events counters for all VFs. every single one. no gatekeeping. π
but here's the thing β VFs with no events are not printed. if a VF has nothing going on, she simply doesn't talk about it. silence. not a single line. it's giving "if you have nothing to say, say nothing" and honestly? respect. π
β οΈ okay important caveat bestie, fr fr: this function can only be called on PF. like, that's the whole rule. don't try it anywhere else, that's not the vibe. π«
β RETURN β
always 0. every time. no drama, no surprises, no "it depends". she returns 0 and she means it. π
πΈ SEE ALSO πΈ
- the kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.cβ go read her, she's right there π xe_gt_sriov_pf_monitor_flr(9)xe_gt_sriov_pf_monitor_process_guc2pf(9)
okay that's the whole page bestie, you ate it up π this little gem comes to you from the source <purple>./drivers/gpu/drm/xe</purple>, dated <lavender>October 2026</lavender> β and yes she's still out here repping that xe_gt_sriov...print_events(9) title energy at the top and bottom of every page she's on ππ§ 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