aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2013-11-26 21:36:47 -0500
committerSteven Rostedt <rostedt@goodmis.org>2014-01-02 16:17:43 -0500
commita4734145a4771ffa0cd5ef283a5cfd03b30bedf3 (patch)
tree3f09bcb3e15201da46bbeb2b655da24d3a364605 /kernel
parent5baaa59ef09e8729aef101f7bf7d9d0af00852e3 (diff)
tracing/uprobes: Pass 'is_return' to traceprobe_parse_probe_arg()
Currently uprobes don't pass is_return to the argument parser so that it cannot make use of "$retval" fetch method since it only works for return probes. Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Acked-by: Oleg Nesterov <oleg@redhat.com> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: zhangwei(Jovi) <jovi.zhangwei@huawei.com> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/trace_uprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c
index bebd2f5d9ea3..8bfd29a8d713 100644
--- a/kernel/trace/trace_uprobe.c
+++ b/kernel/trace/trace_uprobe.c
@@ -514,7 +514,7 @@ static int create_trace_uprobe(int argc, char **argv)
514 514
515 /* Parse fetch argument */ 515 /* Parse fetch argument */
516 ret = traceprobe_parse_probe_arg(arg, &tu->tp.size, parg, 516 ret = traceprobe_parse_probe_arg(arg, &tu->tp.size, parg,
517 false, false); 517 is_return, false);
518 if (ret) { 518 if (ret) {
519 pr_info("Parse error at argument[%d]. (%d)\n", i, ret); 519 pr_info("Parse error at argument[%d]. (%d)\n", i, ret);
520 goto error; 520 goto error;