aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYufeng Mo <[email protected]>2021-05-14 11:25:16 +0800
committerDavid S. Miller <[email protected]>2021-05-14 15:07:34 -0700
commitd658ff34dd7ff9ccf13c59a7c464b55ca122977d (patch)
treea0e536b59e7ca73adeed315cb868873bfbc9d461 /tools/perf/scripts/python
parent8ddfd9c46ef49ed75abc745c1f90532a2abb8f01 (diff)
net: hns3: refactor dump loopback of debugfs
Currently, the debugfs command for loopback is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "loopback" for it, and query it by command "cat loopback", return the result to userspace, rather than record in dmesg. The display style is below: $ cat loopback mac id: 0 app loopback: off serdes serial loopback: off serdes parallel loopback: off Signed-off-by: Yufeng Mo <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions