lpfc_debugf...ing_trc_data(9)
πΈ lpfc_debugf...ing_trc_data(9) πΈ
okay so welcome to the Kernel API Manual, bestie β this is the page for lpfc_debugfs_slow_ring_trc_data, and yes the title up there is literally truncated like that, we don't make the rules π
β¨ NAME β¨
lpfc_debugfs_slow_ring_trc_data β Dump slow ring logging to a buffer
fr fr that's the whole vibe: it dumps the slow ring log into a buffer. π«Ά
π¦ SYNOPSIS π¦
int lpfc_debugfs_slow_ring_trc_data (struct lpfc_hba *phba , char *buf ,
int size );
π ARGUMENTS π
phbaβ the HBA we're gathering the log info from. this is the main character of the whole operation πbufβ the buffer we dump the log into. the destination. the moment. β¨sizeβ the maximum amount of data to process. it's giving boundaries, and honestly? healthy. π
π DESCRIPTION π
okay so here's the tea π β this routine gathers the lpfc slow ring debugfs data from the phba and dumps it to buf up to size number of bytes.
the way it works is lowkey kinda cute: it starts at the next entry in the log and processes the log until the end of the buffer. then it goes back to the beginning of the log and processes until it hits the current entry. wraparound era π« not me looping back around like that.
π NOTES π
β οΈ heads up bestie β slow ring logging will be disabled while while this routine dumps the log. yes, "while while" is literally in the original, i'm not fixing it, i'm just reporting it π
Return Value: this routine returns the amount of bytes that were dumped into buf, and it will not exceed size. no cap, it stays in its lane. π§
π₯ SEE ALSO π₯
the source file, on its own little pedestal:
- Kernel file
./drivers/scsi/lpfc/lpfc_debugfs.c
and now the full friend group β every single one of these, no skips, no cuts π:
lpfc_debugfs_disc_trc_data(9)lpfc_debugfs_hbqinfo_data(9)lpfc_debugfs_commonxripools_data(9)lpfc_debugfs_multixripools_data(9)lpfc_debugfs_lockstat_data(9)lpfc_debugfs_dumpHBASlim_data(9)lpfc_debugfs_dumpHostSlim_data(9)lpfc_debugfs_nodelist_data(9)lpfc_debugfs_nvmestat_data(9)lpfc_debugfs_scsistat_data(9)lpfc_debugfs_ioktime_data(9)lpfc_debugfs_nvmeio_trc_data(9)lpfc_debugfs_hdwqstat_data(9)lpfc_debugfs_disc_trc(9)lpfc_debugfs_slow_ring_trc(9)lpfc_debugfs_nvme_trc(9)lpfc_debugfs_disc_trc_open(9)lpfc_debugfs_slow_ring_trc_open(9)lpfc_debugfs_hbqinfo_open(9)lpfc_debugfs_multixripools_open(9)lpfc_debugfs_lockstat_open(9)lpfc_debugfs_ras_log_open(9)lpfc_debugfs_dumpHBASlim_open(9)lpfc_debugfs_dumpHostSlim_open(9)lpfc_debugfs_nodelist_open(9)lpfc_debugfs_lseek(9)lpfc_debugfs_read(9)lpfc_debugfs_release(9)lpfc_debugfs_multixripools_write(9)lpfc_idiag_cmd_get(9)lpfc_idiag_open(9)lpfc_idiag_release(9)lpfc_idiag_cmd_release(9)lpfc_idiag_pcicfg_read(9)lpfc_idiag_pcicfg_write(9)lpfc_idiag_baracc_read(9)lpfc_idiag_baracc_write(9)lpfc_idiag_queinfo_read(9)lpfc_idiag_que_param_check(9)lpfc_idiag_queacc_read_qe(9)lpfc_idiag_queacc_read(9)lpfc_idiag_queacc_write(9)lpfc_idiag_drbacc_read_reg(9)lpfc_idiag_drbacc_read(9)lpfc_idiag_drbacc_write(9)lpfc_idiag_ctlacc_read_reg(9)lpfc_idiag_ctlacc_read(9)lpfc_idiag_ctlacc_write(9)lpfc_idiag_mbxacc_get_setup(9)lpfc_idiag_mbxacc_read(9)lpfc_idiag_mbxacc_write(9)lpfc_idiag_extacc_avail_get(9)lpfc_idiag_extacc_alloc_get(9)lpfc_idiag_extacc_drivr_get(9)lpfc_idiag_extacc_write(9)lpfc_idiag_extacc_read(9)lpfc_debugfs_initialize(9)lpfc_debugfs_terminate(9)lpfc_debug_dump_all_queues(9)
that's the whole squad, all 59 of them, accounted for π obsessed with how long that list is honestly.
and that's the page!! π¦ sign-off time: this one lives over in ./drivers/scsi/lpfc, dated October 2026, and it's filed under lpfc_debugf...ing_trc_data(9) β see you in the group chat bestie πβ¨π
π¦ 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