aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2014-08-22 11:36:52 +1000
committerDavid S. Miller <[email protected]>2014-08-22 11:28:00 -0700
commitcbd5228199d8be45d895d9d0cc2b8ce53835fc21 (patch)
treedf032719e32933827db5e1ef205f257f5a0b54df /tools/perf/util/scripting-engines/trace-event-python.c
parentc10e4cafa2698dedb9b61bbf6d68f209e779cb19 (diff)
ibmveth: Fix endian issues with rx_no_buffer statistic
Hidden away in the last 8 bytes of the buffer_list page is a solitary statistic. It needs to be byte swapped or else ethtool -S will produce numbers that terrify the user. Since we do this in multiple places, create a helper function with a comment explaining what is going on. Signed-off-by: Anton Blanchard <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions