aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 68610031780b..1796e018fbff 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -465,7 +465,7 @@ __ftrace_replace_code(struct dyn_ftrace *rec, int enable)
465 * it is not enabled then do nothing. 465 * it is not enabled then do nothing.
466 * 466 *
467 * If this record is not to be traced and 467 * If this record is not to be traced and
468 * it is enabled then disabled it. 468 * it is enabled then disable it.
469 * 469 *
470 */ 470 */
471 if (rec->flags & FTRACE_FL_NOTRACE) { 471 if (rec->flags & FTRACE_FL_NOTRACE) {
@@ -485,7 +485,7 @@ __ftrace_replace_code(struct dyn_ftrace *rec, int enable)
485 if (fl == (FTRACE_FL_FILTER | FTRACE_FL_ENABLED)) 485 if (fl == (FTRACE_FL_FILTER | FTRACE_FL_ENABLED))
486 return 0; 486 return 0;
487 487
488 /* Record is not filtered and is not enabled do nothing */ 488 /* Record is not filtered or enabled, do nothing */
489 if (!fl) 489 if (!fl)
490 return 0; 490 return 0;
491 491
@@ -507,7 +507,7 @@ __ftrace_replace_code(struct dyn_ftrace *rec, int enable)
507 507
508 } else { 508 } else {
509 509
510 /* if record is not enabled do nothing */ 510 /* if record is not enabled, do nothing */
511 if (!(rec->flags & FTRACE_FL_ENABLED)) 511 if (!(rec->flags & FTRACE_FL_ENABLED))
512 return 0; 512 return 0;
513 513