aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorHao Chen <[email protected]>2021-05-20 10:21:32 +0800
committerDavid S. Miller <[email protected]>2021-05-20 15:01:03 -0700
commitd2f737cf21b87d4239987da69a3b14730c6a57ad (patch)
treecf33affa9c94c396dbf4968ea9780e0a142ac4e3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent365e860aa7a74afe1ba7157b3bfc547551c5795e (diff)
net: hns3: refactor queue map of debugfs
Currently, the debugfs command for queue map is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "queue_map" for it, and query it by command "cat queue_map", return the result to userspace, rather than record in dmesg. The display style is below: $ cat queue_map local_queue_id global_queue_id vector_id 0 0 341 Signed-off-by: Hao Chen <[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