Skip to content

Commit

Permalink
uprobes: Fix misleading log entry
Browse files Browse the repository at this point in the history
There don't have any 'r' prefix in uprobe event naming, remove it.

Signed-off-by: Jovi Zhang <[email protected]>
Acked-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
  • Loading branch information
Jovi Zhang authored and oleg-nesterov committed Oct 25, 2012
1 parent 6ca2a9c commit 0d13ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace_uprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static int create_trace_uprobe(int argc, char **argv)
if (argv[0][0] == '-')
is_delete = true;
else if (argv[0][0] != 'p') {
pr_info("Probe definition must be started with 'p', 'r' or" " '-'.\n");
pr_info("Probe definition must be started with 'p' or '-'.\n");
return -EINVAL;
}

Expand Down

0 comments on commit 0d13ac9

Please sign in to comment.