summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@linux.alibaba.com>2020-08-31 11:11:00 +0800
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-10-08 15:29:06 -0400
commit59e65b3358f44d4d0134eca3b6c269f359f21cd5 (patch)
treee874d9cc9d84a563d4dc87cfad0159c3796c71a3 /tools/perf/scripts/python
parent8db4d6bfbbf9206567fd529dc73dc058b3929db0 (diff)
ftrace: Use fls() to get the bits for dup_hash()
The effect here is to get the number of bits, lets use fls() to do this job. Link: https://lkml.kernel.org/r/20200831031104.23322-3-richard.weiyang@linux.alibaba.com Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions