diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-03-30 18:46:22 +0100 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-04-13 15:32:03 +0200 |
commit | 393a736c280d555d9301fc5516d4d401544eb9db (patch) | |
tree | c0cb3385b47e0ecb38f7199b2a319e704abe9988 /firmware/ess | |
parent | c1ae5c75e1034070b203dc9d4ad77ce196166a6c (diff) | |
download | linux-393a736c280d555d9301fc5516d4d401544eb9db.tar.bz2 |
uprobes/tracing: Make uprobe_{trace,perf}_print() uretprobe-friendly
Change uprobe_trace_print() and uprobe_perf_print() to check
is_ret_probe() and fill ring_buffer_event accordingly.
Also change uprobe_trace_func() and uprobe_perf_func() to not
_print() if is_ret_probe() is true. Note that we keep ->handler()
nontrivial even for uretprobe, we need this for filtering and for
other potential extensions.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Tested-by: Anton Arapov <anton@redhat.com>
Diffstat (limited to 'firmware/ess')
0 files changed, 0 insertions, 0 deletions