diff options
author | Carl Heymann <carl.heymann@netronome.com> | 2017-12-14 04:50:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-15 12:48:45 -0500 |
commit | da762863edd9e3f9b391620b845f2a6ffdc6dd7d (patch) | |
tree | 57e4027086871f9cf66995a098a3ea6483df60ab /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9463b2f72eadf93132815e7ee8e54b4f46e39be9 (diff) |
nfp: fix absolute rtsym handling in debug dump
In TLV-based ethtool debug dumps, don't do a CPP read for absolute
rtsyms, use the addr field in the symbol table directly as the value.
Without this fix rtsym gro_release_ring_0 is 4 bytes of zeros.
With this fix the correct value, 0x0000004a 0x00000000 is reported.
The values may be read using ethtool debug level 2.
# ethtool -W <netdev> 2
# ethtool -w <netdev> data dump.dat
Fixes: e1e798e3fd93 ("nfp: dump rtsyms")
Signed-off-by: Carl Heymann <carl.heymann@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions