diff --git a/drivers/android/binder.c b/drivers/android/binder.c index f1599c14f1b7..bd9e285df613 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -5472,6 +5472,9 @@ static void print_binder_proc(struct seq_file *m, for (n = rb_first(&proc->nodes); n != NULL; n = rb_next(n)) { struct binder_node *node = rb_entry(n, struct binder_node, rb_node); + if (!print_all && !node->has_async_transaction) + continue; + /* * take a temporary reference on the node so it * survives and isn't removed from the tree