Skip to main content

Module kern

Module kern 

Source
Expand description

Kernel log capture.

This module provides functionality to capture kernel logs and forward them to the tracing system.

By default, if no platform-specific implementation is available, the module logs a debug message indicating that kernel log capture is not implemented for the current platform.

ยงExample Log Retreival

[root@monza cadmus-tst]# cat logs/cadmus-019cf7e3-ef3a-7752-846f-83b92ac90634.json | jq '. | select(.target == "cadmus_core::logging::kern")| .fields.body' -r | tail
Mar 16 18:31:49 kernel: [ 3854.620803] -(0)[0:swapper/0][wlan] In HIF ISR.
Mar 16 18:31:50 kernel: [ 3855.188306] -(0)[2715:main_thread][wlan][2715]wlanDumpBssStatistics:(SW4 INFO) LLS BSS[0] BE: T[053937] R[000000] T_D[000000] T_F[000000]
Mar 16 18:31:50 kernel: [ 3855.188331] -(0)[2715:main_thread][wlan][2715]wlanDumpBssStatistics:(SW4 INFO) LLS BSS[0] BK: T[001878] R[000000] T_D[000000] T_F[000000]
Mar 16 18:31:50 kernel: [ 3855.188342] -(0)[2715:main_thread][wlan][2715]wlanDumpBssStatistics:(SW4 INFO) LLS BSS[0] VI: T[000000] R[000000] T_D[000000] T_F[000000]
Mar 16 18:31:50 kernel: [ 3855.188353] -(0)[2715:main_thread][wlan][2715]wlanDumpBssStatistics:(SW4 INFO) LLS BSS[0] VO: T[000004] R[000000] T_D[000000] T_F[000000]
Mar 16 18:31:50 kernel: [ 3855.188485] .(0)[2716:hif_thread]padding for alignment
Mar 16 18:31:50 kernel: [ 3855.641193] .(0)[2715:main_thread][wlan][2715]nicEventLayer0ExtMagic:(NIC INFO) Amsdu update event ucWlanIdx[1] ucLen[0] ucMaxMpduCount[0]
Mar 16 18:31:50 kernel: [ 3855.842447] .(0)[2715:main_thread][wlan][2715]nicEventLayer0ExtMagic:(NIC INFO) Amsdu update event ucWlanIdx[1] ucLen[0] ucMaxMpduCount[0]
Mar 16 18:31:51 kernel: [ 3856.636823] -(0)[0:swapper/0]mtk_axi_interrupt: 252 callbacks suppressed
Mar 16 18:31:51 kernel: [ 3856.636842] -(0)[0:swapper/0][wlan] In HIF ISR.