]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add ftrace_hash_key() helper function
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Feb 2017 17:19:33 +0000 (12:19 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 3 Feb 2017 15:58:05 +0000 (10:58 -0500)
commit8f817c35110e47b89be695f36ccae8854cbcc557
tree8082aad134bb617cb902ed7813c7d1246efcf17a
parentcf5c188e481b2197015d0c5416dfcb0b3325d650
tracing: Add ftrace_hash_key() helper function

Replace the couple of use cases that has small logic to produce the ftrace
function key id with a helper function. No need for duplicate code.

Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c