Skip to content

Commit a473414

Browse files
Namhyung Kimrostedt
Namhyung Kim
authored andcommitted
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 <[email protected]> Acked-by: Oleg Nesterov <[email protected]> Cc: Srikar Dronamraju <[email protected]> Cc: zhangwei(Jovi) <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Namhyung Kim <[email protected]>
1 parent 5baaa59 commit a473414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/trace_uprobe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ static int create_trace_uprobe(int argc, char **argv)
514514

515515
/* Parse fetch argument */
516516
ret = traceprobe_parse_probe_arg(arg, &tu->tp.size, parg,
517-
false, false);
517+
is_return, false);
518518
if (ret) {
519519
pr_info("Parse error at argument[%d]. (%d)\n", i, ret);
520520
goto error;

0 commit comments

Comments
 (0)