From: Roland Dreier Date: Sat, 16 Apr 2005 22:26:07 +0000 (-0700) Subject: [PATCH] IPoIB: document conversion to debugfs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1ed8dab9486ecc109b74d3941051155cb07a05a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [PATCH] IPoIB: document conversion to debugfs Update IPoIB documentation now that multicast debugging files have moved from ipoibdebugfs to debugfs. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/infiniband/ipoib.txt b/Documentation/infiniband/ipoib.txt index 18e184b56040..5c5a4ccce76a 100644 --- a/Documentation/infiniband/ipoib.txt +++ b/Documentation/infiniband/ipoib.txt @@ -32,14 +32,13 @@ Debugging Information mcast_debug_level to 1. These parameters can be controlled at runtime through files in /sys/module/ib_ipoib/. - CONFIG_INFINIBAND_IPOIB_DEBUG also enables the "ipoib_debugfs" + CONFIG_INFINIBAND_IPOIB_DEBUG also enables files in the debugfs virtual filesystem. By mounting this filesystem, for example with - mkdir -p /ipoib_debugfs - mount -t ipoib_debugfs none /ipoib_debufs + mount -t debugfs none /sys/kernel/debug it is possible to get statistics about multicast groups from the - files /ipoib_debugfs/ib0_mcg and so on. + files /sys/kernel/debug/ipoib/ib0_mcg and so on. The performance impact of this option is negligible, so it is safe to enable this option with debug_level set to 0 for normal