aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2015-11-02 17:09:42 -0800
committerJeff Kirsher <[email protected]>2015-12-12 01:06:34 -0800
commitc18fbd5f024e47897a120f42d128c04fa708692c (patch)
tree7d93cf2398178b8b9c635ed6c7adc88ccfe43bb5 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent8e8e9a0b7df0194e95bb1d657f9edbdc6363f082 (diff)
ixgbe: Simplify definitions for regidx and bit in set_vfta
This patch simplifies the logic for setting the VFTA register by removing the number of conditional checks needed. Instead we just use some boolean logic to generate vfta_delta, and if that is set then we xor the vfta by that value and write it back. Signed-off-by: Alexander Duyck <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions