xe_oa_stream_open_ioctl(9)
π xe_oa_stream_open_ioctl β¨
okay so real talk, this one lives in the Kernel API Manual (yes bestie, the 9th section, we're in the deep end now π«Ά), and it's literally the function that opens an OA stream. iconic behavior. let's get into it.
πΈ NAME πΈ
xe_oa_stream_open_ioctl β opens an OA stream π
π SYNOPSIS π
int xe_oa_stream_open_ioctl (struct drm_device *dev , u64 data , struct
drm_file *file );
π¦ ARGUMENTS π¦
devβ adrm_device. that's the vibe check on which device we're talking to πdataβ pointer tostruct drm_xe_oa_config. this is where the actual config lives, no capfileβ adrm_file. the file handle doing the asking β¨
π DESCRIPTION π
so the function opens an OA stream. and like, what IS an OA stream? glad you asked π§ an OA stream, opened with specified properties, enables OA counter samples to be collected β either periodically (time based sampling β°) or on request (using OA queries, iykyk). two modes, both slay, she contains multitudes π
π SEE ALSO π
the kernel file is ./drivers/gpu/drm/xe/xe_oa.c, and while you're in the neighborhood, go say hi to:
xe_oa_timestamp_frequency(9)xe_oa_unit_id(9)xe_oa_add_config_ioctl(9)xe_oa_remove_config_ioctl(9)xe_oa_register(9)xe_oa_init(9)
and that's the whole page, bestie!! this one's brought to you by the source ./drivers/gpu/drm/xe, dated October 2026 β main character energy from the kernel tree fr fr ππ go forth and open those streams, ily π«Άβ¨
π¦ 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