diff options
Diffstat (limited to 'procps/powertop.c')
-rw-r--r-- | procps/powertop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/powertop.c b/procps/powertop.c index ddda5bd93..18affacdd 100644 --- a/procps/powertop.c +++ b/procps/powertop.c | |||
@@ -458,9 +458,9 @@ static NOINLINE int process_timer_stats(void) | |||
458 | // func = "Load balancing tick"; | 458 | // func = "Load balancing tick"; |
459 | //} | 459 | //} |
460 | 460 | ||
461 | if (strncmp(func, "tick_nohz_", 10) == 0) | 461 | if (is_prefixed_with(func, "tick_nohz_")) |
462 | continue; | 462 | continue; |
463 | if (strncmp(func, "tick_setup_sched_timer", 20) == 0) | 463 | if (is_prefixed_with(func, "tick_setup_sched_timer")) |
464 | continue; | 464 | continue; |
465 | //if (strcmp(process, "powertop") == 0) | 465 | //if (strcmp(process, "powertop") == 0) |
466 | // continue; | 466 | // continue; |