aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorwilly tarreau <[email protected]>2014-01-16 08:20:14 +0100
committerDavid S. Miller <[email protected]>2014-01-16 15:15:42 -0800
commit5428213c042b572d10418fe22cc3c1c682631cad (patch)
treee25bdf668486a6cf811fc25ad656b7173325a69d /tools/perf/scripts/python/event_analyzing_sample.py
parenta1a65ab18a9da16e322e88305324c38cd797caa9 (diff)
net: mvneta: simplify access to the rx descriptor status
At several places, we already know the value of the rx status but we call functions which dereference the pointer again to get it and don't need the descriptor for anything else. Simplify this task by replacing the rx desc pointer by the status word itself. Cc: Thomas Petazzoni <[email protected]> Cc: Gregory CLEMENT <[email protected]> Tested-by: Arnaud Ebalard <[email protected]> Signed-off-by: Willy Tarreau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions