summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2021-01-10 13:59:38 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-13 07:01:56 +0300
commit9cc8976c69eb626a7a5100239eb7c69b1a1a609f (patch)
treeee7bc18ef6055edf07f488b23ba77cfb1f5d1197 /tools/perf/scripts/python/export-to-sqlite.py
parentb866e72ca031f4462aa755d5ee66bdfd02357fa6 (diff)
downloadlinux-9cc8976c69eb626a7a5100239eb7c69b1a1a609f.tar.xz
net: sfp: add debugfs support
Add debugfs support to SFP so that the internal state of the SFP state machines and hardware signal state can be viewed from userspace, rather than having to compile a debug kernel to view state transitions in the kernel log. The 'state' output looks like: Module state: empty Module probe attempts: 0 0 Device state: up Main state: down Fault recovery remaining retries: 5 PHY probe remaining retries: 12 moddef0: 0 rx_los: 1 tx_fault: 1 tx_disable: 1 Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Link: https://lore.kernel.org/r/E1kyYRe-0004kN-3F@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions