summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-05-20 05:21:30 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-21 01:01:03 +0300
commitd96b0e59468dcbd61417b7dd31985a700e58d3b2 (patch)
tree244eec2d1adae2d7f1933ee6a0392d187049e423 /tools/perf/scripts/python/syscall-counts.py
parent2682ea324b000709dafec7e9210caa5189377c45 (diff)
downloadlinux-d96b0e59468dcbd61417b7dd31985a700e58d3b2.tar.xz
net: hns3: refactor dump reg of debugfs
Currently, the debugfs command for reg is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create some files "bios_common/ssu/igu_egu/rpu/ncsi/rtc/ppp/rcb/tqp/mac" for it, and query it by command "cat xxx", return the result to userspace, rather than record in dmesg. The display style is below: $ cat bios_common BP_CPU_STATE: 0x0 DFX_MSIX_INFO_NIC_0: 0xc000 DFX_MSIX_INFO_NIC_1: 0x0 DFX_MSIX_INFO_NIC_2: 0x0 DFX_MSIX_INFO_NIC_3: 0x0 DFX_MSIX_INFO_ROC_0: 0xc000 DFX_MSIX_INFO_ROC_1: 0x0 DFX_MSIX_INFO_ROC_2: 0x0 DFX_MSIX_INFO_ROC_3: 0x0 Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions