aboutsummaryrefslogtreecommitdiff
path: root/procps/powertop.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/powertop.c')
-rw-r--r--procps/powertop.c4
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)
// func = "Load balancing tick";
//}
- if (strncmp(func, "tick_nohz_", 10) == 0)
+ if (is_prefixed_with(func, "tick_nohz_"))
continue;
- if (strncmp(func, "tick_setup_sched_timer", 20) == 0)
+ if (is_prefixed_with(func, "tick_setup_sched_timer"))
continue;
//if (strcmp(process, "powertop") == 0)
// continue;