lpfc_debugfs_slow_ring_trc(9)
π lpfc_debugfs_slow_ring_trc β bestie, this is the Kernel API Manual entry, and it's literally about storing the slow ring trace log π
okay so picture this: you're deep in the kernel, the lpfc driver is doing its thing, and you need a little debug breadcrumb trail. that's this function. she's not flashy, she's not returning anything (void, queen of giving nothing back π), she just stores. let's get into it β¨
β¨ SYNOPSIS β¨
void lpfc_debugfs_slow_ring_trc (struct lpfc_hba *phba , char *fmt ,
uint32_t data1 , uint32_t data2 , uint32_t data3 );
that's the whole vibe check β one function, five params, zero return value. void said "my job here is done" and honestly? iconic. π
π«Ά ARGUMENTS π«Ά
phbaβ thephbayou're associating this trace string with, so you can pull it back out later for retrieval. like tagging your friend in a photo so they can find it in six months πΈfmtβ the format string, aka what gets displayed when you dump the log. this is the aesthetic of your message, fr.data1β the 1st data parameter, applied tofmt.data2β the 2nd data parameter, applied tofmt.data3β the 3rd data parameter, applied tofmt.
three data slots, no more, no less. she's organized like that π
πΈ DESCRIPTION πΈ
so this routine is what the driver code calls to add a debugfs log entry into the discovery trace buffer associated with the vport. yes, the discovery trace buffer β that's what the original says, don't come for me π
and here's the cute part: fmt, data1, data2, and data3 get used like printf when the log is displayed. so fmt is your template and the three data params fill in the blanks. it's giving "delayed gratification" because the formatting happens at dump time, not right now. main character energy, honestly π¦
π₯ SEE ALSO π₯
okay bestie, buckle up, because this list is LONG and we are NOT skipping a single one. every single reference, coming at you π
the kernel file first:
./drivers/scsi/lpfc/lpfc_debugfs.c
and now the whole squad, in order:
lpfc_debugfs_disc_trc_data(9)lpfc_debugfs_slow_ring_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_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)
sixty-ish entries, all accounted for, nobody left on read π«Άβ¨
lowkey a reminder: this page is the Kernel API Manual version, so the pages land in section 9. don't go looking for them in section 1, bestie, you'll be searching forever π
and that's the whole thing! π no bugs notes, no exit statuses, no warnings β just a tidy little trace-storer and her extremely long friend list. iykyk π
sign-off time: this one lives under ./drivers/scsi/lpfc, dated October 2026, and answers to the name lpfc_debugfs_slow_ring_trc(9). mwah πβ¨
π¦ 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