]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - kernel/trace/ftrace.c
ftrace: break up ftrace_match_records into smaller components
authorSteven Rostedt <srostedt@redhat.com>
Fri, 13 Feb 2009 20:56:43 +0000 (15:56 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Mon, 16 Feb 2009 21:49:57 +0000 (16:49 -0500)
commit9f4801e30ad291e27284e873696da1ead92d68fa
tree2a374e89f4f4ecb13cbcf8f914076539e9096517
parent7f24b31b01a271b62346d9df084b029e48612163
ftrace: break up ftrace_match_records into smaller components

Impact: clean up

ftrace_match_records does a lot of things that other features
can use. This patch breaks up ftrace_match_records and pulls
out ftrace_setup_glob and ftrace_match_record.

ftrace_setup_glob prepares a simple glob expression for use with
ftrace_match_record. ftrace_match_record compares a single record
with a glob type.

Breaking this up will allow for more features to run on individual
records.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/ftrace.c