aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorXiubo Li <[email protected]>2015-12-16 17:45:32 +0800
committerMark Brown <[email protected]>2015-12-16 13:03:20 +0000
commitfcac0233d89ddce72945f3e0afaf4680572d8525 (patch)
tree054bd99f62932abc78b5ca24493cdd67a1156384 /tools/perf/util/trace-event-scripting.c
parenta6baa3deaf7aaec5f1c5233128b5285c4c7074e0 (diff)
regmap: use IS_ALIGNED instead of % to improve the performance
The stride value should always equal to 2^n, so we can use bit rotation instead of % to improve the performance. Signed-off-by: Xiubo Li <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions