aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorJiaran Zhang <zhangjiaran@huawei.com>2021-05-14 11:25:12 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-14 15:07:34 -0700
commitc929bc2ac36efa9344e6c8b8f55f6b8eeebb4393 (patch)
tree4b098e3aee78b3e8b34145dcbce31c0921ec4eb2 /tools/perf/scripts/python/bin/flamegraph-record
parentnet: hns3: refactor the debugfs process (diff)
downloadlinux-c929bc2ac36efa9344e6c8b8f55f6b8eeebb4393.tar.gz
linux-c929bc2ac36efa9344e6c8b8f55f6b8eeebb4393.zip
net: hns3: refactor dev capability and dev spec of debugfs
Currently, the debugfs command for dev capability and dev spec are implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "dev_info" for them, and query them by command "cat dev_info", return the result to userspace, rather than record in dmesg. The display style is below: $cat dev_info dev capability: support FD: yes support GRO: yes support FEC: yes support UDP GSO: no support PTP: no support INT QL: no support HW TX csum: no support UDP tunnel csum: no support TX push: no support imp-controlled PHY: no support rxd advanced layout: no dev spec: MAC entry num: 0 MNG entry num: 0 MAX non tso bd num: 8 RSS ind tbl size: 512 RSS key size: 40 RSS size: 1 Allocated RSS size: 0 Task queue pairs numbers: 1 RX buffer length: 2048 Desc num per TX queue: 1024 Desc num per RX queue: 1024 Total number of enabled TCs: 1 MAX INT QL: 0 MAX INT GL: 8160 MAX TM RATE: 100000 MAX QSET number: 1024 Signed-off-by: Jiaran Zhang <zhangjiaran@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/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
pan> 2017-05-19KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()Radim Krčmář1-1/+1 2017-05-19KVM: x86: zero base3 of unusable segmentsRadim Krčmář1-0/+2 2017-05-19KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulationWanpeng Li1-9/+15 2017-05-19KVM: x86: Fix potential preemption when get the current kvmclock timestampWanpeng Li1-1/+9 2017-05-19blktrace: fix integer parseShaohua Li1-2/+2 2017-05-19i2c: designware: don't infer timings described by ACPI from clock rateArd Biesheuvel1-8/+10 2017-05-19arm64: dts: rockchip: fix include referenceArnd Bergmann1-1/+1 2017-05-19watchdog: bcm281xx: Fix use of uninitialized spinlock.Eric Anholt1-1/+2 2017-05-19watchdog: zx2967: remove redundant dev_err call in zx2967_wdt_probe()Wei Yongjun1-3/+1 2017-05-19iTCO_wdt: all versions count down twicePaolo Bonzini2-13/+11 2017-05-19firmware: ti_sci: fix strncat length checkArnd Bergmann1-1/+2 2017-05-19ARM: remove duplicate 'const' annotations'Arnd Bergmann6-6/+6 2017-05-19arm64: defconfig: enable options needed for QCom DB410c boardRob Herring1-0/+7 2017-05-18arm64: defconfig: sync with savedefconfigRob Herring1-61/+42