uprobes/tracing: Introduce uprobe_{trace,perf}_print() helpers
authorOleg Nesterov <oleg@redhat.com>
Sat, 30 Mar 2013 17:02:12 +0000 (18:02 +0100)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:32:01 +0000 (15:32 +0200)
Extract the output code from uprobe_trace_func() and uprobe_perf_func()
into the new helpers, they will be used by ->ret_handler() too. We also
add the unused "unsigned long func" argument in advance, to simplify the
next changes.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Tested-by: Anton Arapov <anton@redhat.com>

No differences found