]> git.karo-electronics.de Git - karo-tx-linux.git/commit
uprobes/tracing: Kill uprobe_trace_consumer, embed uprobe_consumer into trace_uprobe
authorOleg Nesterov <oleg@redhat.com>
Thu, 31 Jan 2013 18:47:23 +0000 (19:47 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 17:24:33 +0000 (18:24 +0100)
commita932b7381f81235530c3d0acbd3ba2c7537d78e5
tree01fb4bbdd21cb67c63b6302ffbbbda22fdcbebcd
parentb64b007797c1e6d6b745c93c296ba1d5f4d72d86
uprobes/tracing: Kill uprobe_trace_consumer, embed uprobe_consumer into trace_uprobe

trace_uprobe->consumer and "struct uprobe_trace_consumer" add the
unnecessary indirection and complicate the code for no reason.

This patch simply embeds uprobe_consumer into "struct trace_uprobe",
all other changes only fix the compilation errors.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
kernel/trace/trace_uprobe.c