mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
Srikar Dronamraju fixed a bug in the newmulti probe code.
-----BEGIN PGP SIGNATURE----- iIoEABYIADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCXYvAlBQccm9zdGVkdEBn b29kbWlzLm9yZwAKCRAp5XQQmuv6qlK6APsECr49j3ew/tRCnzkq0Y09w0TLYeHL ax6aAVO1fHX0TgEAhCBwkWh8ZcoxGbu1CDOkQjJAqfTFFSu38Klv1P+3PQg= =oSuX -----END PGP SIGNATURE----- Merge tag 'trace-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace Pull tracing fix from Steven Rostedt: "Srikar Dronamraju fixed a bug in the newmulti probe code" * tag 'trace-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: tracing/probe: Fix same probe event argument matching
This commit is contained in:
commit
7897c04ad0
@ -549,10 +549,11 @@ static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig,
|
||||
for (i = 0; i < orig->tp.nr_args; i++) {
|
||||
if (strcmp(orig->tp.args[i].comm,
|
||||
comp->tp.args[i].comm))
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
if (i == orig->tp.nr_args)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@ -431,10 +431,11 @@ static bool trace_uprobe_has_same_uprobe(struct trace_uprobe *orig,
|
||||
for (i = 0; i < orig->tp.nr_args; i++) {
|
||||
if (strcmp(orig->tp.args[i].comm,
|
||||
comp->tp.args[i].comm))
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
if (i == orig->tp.nr_args)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user