diff options
author | Guangbin Huang <[email protected]> | 2021-05-20 10:21:38 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-20 15:01:03 -0700 |
commit | 6571ec2eda65d4e19244bb3e001ec64a6eef41dc (patch) | |
tree | 3ffeaa3249409f072715c9969755483551b98a2f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 0e32038dc8565e8f1c00129307d56fd336267a56 (diff) |
net: hns3: refactor dump qos pause cfg of debugfs
Currently, user gets pause config by implementing debugfs command
"echo dump qos pause cfg > cmd", this command will dump info in dmesg.
It's unnecessary and heavy.
To optimize it, create a single file "qos_pause_cfg" in tm directory
and use cat command to get info. It will return info to userspace,
rather than record in dmesg.
The display style is below:
$ cat qos_pause_cfg
pause_trans_gap: 0x7f
pause_trans_time: 0xffff
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions