aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorFelipe Balbi <[email protected]>2012-01-27 16:19:15 +0200
committerSarah Sharp <[email protected]>2012-03-12 09:31:24 -0700
commit8d3709f3dd41769338cc383bec23673fd1ce34e7 (patch)
tree414259a3c273deaf166cdc2747f1ed8b170821fd /tools/perf/scripts/python/syscall-counts-by-pid.py
parentf99298bfa7c42da8d27c2b42050941471c0866ab (diff)
usb: host: xhci: use __ffs() instead of hardcoding shift
__ffs() can tell us which is the SEGMENT_SHIFT value to be used. This will prevent problems when users are too fast and don't pay attention to the need of fixing the Shift after changing TRBS_PER_SEGMENT. Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Sarah Sharp <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions