xe_eu_stall_..._read_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_eu_stall_stream_read_locked(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for xe_eu_stall_stream_read_locked β€” it's giving β€œcopy the EU stall counters data from the per xecore buffers to the userspace buffer” and honestly? iconic. ✨


✨ NAME ✨

xe_eu_stall_stream_read_locked β€” copy EU stall counters data from the per xecore buffers to the userspace buffer πŸ’–


🌸 SYNOPSIS 🌸

ssize_t xe_eu_stall_stream_read_locked (struct xe_eu_stall_data_stream
*stream , struct file *file , char __user *buf , size_t count );

πŸŽ€ ARGUMENTS πŸŽ€

  • stream β€” a stream opened for EU stall count metrics 🫢
  • file β€” an xe EU stall data stream file 🌈
  • buf β€” destination buffer given by userspace, no cap πŸ’…
  • count β€” the number of bytes userspace wants to read πŸ‘‘

πŸ’– RETURN πŸ’–

Number of bytes copied or a negative error code. If we've successfully copied any data then reporting that takes precedence over any internal error status, so the data isn't lost. πŸ˜­πŸ’Ύ


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/xe/xe_eu_stall.c and struct eu_stall_open_properties(9), xe_eu_stall_get_sampling_rates(9), xe_eu_stall_get_per_xecore_buf_size(9), xe_eu_stall_data_record_size(9), num_data_rows(9), xe_eu_stall_init(9), buf_data_size(9), eu_stall_data_buf_poll(9), xe_eu_stall_stream_open(9) ⭐


cute little sign-off bestie: source is ./drivers/gpu/drm/xe, date is October 2026, and the page tag is xe_eu_stall_..._read_locked(9) β€” periodt. πŸ’œπŸŽ€

πŸ“¦ where this page comes from