event_log_size_show(9)
π event_log_size_show(9) β a Kernel API Manual moment β¨
okay so bestie, we're deep in the kernel API manual section (9, iykyk) and this page is all about event_log_size_show. it's giving "tiny function, whole lotta lore." let's get into it π«Ά
πΈ NAME πΈ
event_log_size_show β literally just: event log size. that's the whole vibe. π
β¨ SYNOPSIS β¨
ssize_t event_log_size_show (struct device *cdev , struct
device_attribute *attr , char *buf );
no cap, it returns a ssize_t and takes three args. keep reading, i promise it's short π
π¦ ARGUMENTS π¦
cdevβ a pointer to the embedded class device. she's pointing at her device, as one does πattrβ the device attribute. and babes, it's unused. don't worry about her, she's just here for the vibes πbufβ the buffer that gets returned. this is the actual output slot, main character energy π
π DESCRIPTION π
it's a sysfs read shost attribute. that's it, that's the whole description. short and iconic, we respect it π
ngl the original page keeps it to one line, so i'm not gonna invent extra behaviour for you. what it says is what it does, periodt β¨
π₯ SEE ALSO π₯
the kernel file that lives with all this:
./drivers/scsi/pm8001/pm8001_ctl.c
and the whole friend group of related functions (yes, all of them, no skipping, i would never π):
pm8001_ctl_mpi_interface_rev_show(9)controller_fatal_error_show(9)pm8001_ctl_fw_version_show(9)pm8001_ctl_ila_version_show(9)pm8001_ctl_inactive_fw_version_show(9)pm8001_ctl_max_out_io_show(9)pm8001_ctl_max_devices_show(9)pm8001_ctl_max_sg_list_show(9)pm8001_ctl_sas_spec_support_show(9)pm8001_ctl_host_sas_address_show(9)pm8001_ctl_logging_level_show(9)pm8001_ctl_aap_log_show(9)pm8001_ctl_ib_queue_log_show(9)pm8001_ctl_ob_queue_log_show(9)pm8001_ctl_bios_version_show(9)pm8001_ctl_iop_log_show(9)pm8001_ctl_fatal_log_show(9)non_fatal_log_show(9)pm8001_ctl_gsm_log_show(9)ctl_mpi_state_show(9)ctl_hmi_error_show(9)ctl_raae_count_show(9)ctl_iop0_count_show(9)ctl_iop1_count_show(9)
that's the page, bestie β short, sweet, and fully documented π this one comes from ./drivers/scsi/pm8001, stamped October 2026, and it slayed every single line it needed to ππ§β
π¦ 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