Hi, On ppc64 the text address is prefixed with a '.' to separate it from the associated function descriptor. The patch below changes powertop so it skips any leading '.' - without it we fail to cath the tick_nohz_* and tick_setup_sched_timer functions
Signed-off-by: Anton Blanchard <[email protected]> Index: powertop.c =================================================================== --- powertop.c (revision 319) +++ powertop.c (working copy) @@ -968,7 +968,7 @@ continue; *c = 0; c++; - while (*c != 0 && *c == ' ') + while (*c != 0 && (*c == ' ' || *c == '.')) c++; func = c; if (strcmp(process, "insmod") == 0) _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
