aboutsummaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-05-20 10:21:43 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-20 15:01:04 -0700
commit058c3be95235a12953d6533ef1486dc3d5879688 (patch)
treec98d4c7f56b3910811c8058d002b2620eee06dfb /ipc/util.c
parent7b07ab06e6b00b4421a4dfd732e98b359e0bad91 (diff)
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 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions