diff options
author | 2015-01-23 16:10:36 -0500 | |
---|---|---|
committer | 2015-01-27 00:04:02 -0800 | |
commit | bb92ea5e352db0674dec77491ad44d81d7d9b2e2 (patch) | |
tree | ae00ed9a632cf270faad4f20f9a066d25648fddb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: macb: Remove CONFIG_PM ifdef because of compilation warning (diff) | |
download | linux-dev-bb92ea5e352db0674dec77491ad44d81d7d9b2e2.tar.xz linux-dev-bb92ea5e352db0674dec77491ad44d81d7d9b2e2.zip |
net: dsa/mv88e6xxx: add reg read and write debug
This commit adds debug messages for the generic mv88e6xxx read and write
routines. The output is similar to this:
mdio-gpio mdio-gpio.0: <- addr: 0x1b reg: 0x05 val: 0x4000
mdio-gpio mdio-gpio.0: -> addr: 0x1b reg: 0x07 val: 0x3113
mdio-gpio mdio-gpio.0: -> addr: 0x1b reg: 0x08 val: 0x0330
mdio-gpio mdio-gpio.0: -> addr: 0x1b reg: 0x09 val: 0x0000
This is convenient to dynamically debug operations through debugfs with:
echo file mv88e6xxx.c +p > <debugfs>/dynamic_debug/control
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions