mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
uprobes: Fix misleading log entry
There don't have any 'r' prefix in uprobe event naming, remove it. Signed-off-by: Jovi Zhang <bookjovi@gmail.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com>
This commit is contained in:
parent
6ca2a9c654
commit
0d13ac96b9
@ -189,7 +189,7 @@ static int create_trace_uprobe(int argc, char **argv)
|
|||||||
if (argv[0][0] == '-')
|
if (argv[0][0] == '-')
|
||||||
is_delete = true;
|
is_delete = true;
|
||||||
else if (argv[0][0] != 'p') {
|
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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user