|
@@ -1966,7 +1966,28 @@ static bool is_idle_sample(struct perf_sched *sched,
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
callchain_cursor_commit(cursor);
|
|
|
+
|
|
|
+ while (true) {
|
|
|
+ struct callchain_cursor_node *node;
|
|
|
+ struct symbol *sym;
|
|
|
+
|
|
|
+ node = callchain_cursor_current(cursor);
|
|
|
+ if (node == NULL)
|
|
|
+ break;
|
|
|
+
|
|
|
+ sym = node->sym;
|
|
|
+ if (sym && sym->name) {
|
|
|
+ if (!strcmp(sym->name, "schedule") ||
|
|
|
+ !strcmp(sym->name, "__schedule") ||
|
|
|
+ !strcmp(sym->name, "preempt_schedule"))
|
|
|
+ sym->ignore = 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ callchain_cursor_advance(cursor);
|
|
|
+ }
|
|
|
+
|
|
|
return false;
|
|
|
}
|
|
|
|