summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-05-20 05:21:43 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-21 01:01:04 +0300
commit058c3be95235a12953d6533ef1486dc3d5879688 (patch)
treec98d4c7f56b3910811c8058d002b2620eee06dfb /tools/perf/scripts/python/exported-sql-viewer.py
parent7b07ab06e6b00b4421a4dfd732e98b359e0bad91 (diff)
downloadlinux-058c3be95235a12953d6533ef1486dc3d5879688.tar.xz
net: hns3: refactor dump serv info of debugfs
Currently, the debugfs command for serv info is implemented by "echo xxxx > cmd", and record the inforamtion in dmesg. It's unnecessary and heavy. To improve it, create a single file "serv_info" for it, and query it by command "cat serv_info", return the result to userspace, rather than record in dmesg. The display style is below: $ cat service_task_info local_clock: [ 114.203321] delta: 784(ms) last_service_task_processed: 4294918512(jiffies) last_service_task_cnt: 4 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions