]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Create a global_ops to hold the filter and notrace hashes
authorSteven Rostedt <srostedt@redhat.com>
Mon, 2 May 2011 16:29:25 +0000 (12:29 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 18 May 2011 19:29:45 +0000 (15:29 -0400)
commite474ac86a892c6273f50cd6059906dfaca1a612d
tree483979d8030cc2cf156ed65218c03a2d6825d9f5
parent1c549fe1755161098611f0600294a70bf5a491fe
ftrace: Create a global_ops to hold the filter and notrace hashes

Combine the filter and notrace hashes to be accessed by a single entity,
the global_ops. The global_ops is a ftrace_ops structure that is passed
to different functions that can read or modify the filtering of the
function tracer.

The ftrace_ops structure was modified to hold a filter and notrace
hashes so that later patches may allow each ftrace_ops to have its own
set of rules to what functions may be filtered.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c