]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Use fls() to get the bits for dup_hash()
authorWei Yang <richard.weiyang@linux.alibaba.com>
Mon, 31 Aug 2020 03:11:00 +0000 (11:11 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 8 Oct 2020 19:29:06 +0000 (15:29 -0400)
commit812ec98fe97a75ca26de5f208f8e824be8450938
treee874d9cc9d84a563d4dc87cfad0159c3796c71a3
parentfbe6fd124cc5d8f55d55f43ac05a8dc72bc4f4e5
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>
kernel/trace/ftrace.c