diff options
| author | Carlos Llamas <cmllamas@google.com> | 2024-09-26 23:36:19 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-09 10:41:11 +0100 |
| commit | 0207180b59cda7d40018289a13fbb3f4c9381fe7 (patch) | |
| tree | 4afc4846ce9bdbd5df5584579a552efd917fa899 /drivers/android | |
| parent | b8b77712142fb146fe18d2253bc8a798d522e427 (diff) | |
| download | linux-0207180b59cda7d40018289a13fbb3f4c9381fe7.tar.gz linux-0207180b59cda7d40018289a13fbb3f4c9381fe7.tar.bz2 linux-0207180b59cda7d40018289a13fbb3f4c9381fe7.zip | |
binder: add delivered_freeze to debugfs output
commit cb2aeb2ec25884133110ffe5a67ff3cf7dee5ceb upstream.
Add the pending proc->delivered_freeze work to the debugfs output. This
information was omitted in the original implementation of the freeze
notification and can be valuable for debugging issues.
Fixes: d579b04a52a1 ("binder: frozen notification")
Cc: stable@vger.kernel.org
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Acked-by: Todd Kjos <tkjos@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20240926233632.821189-9-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
| -rw-r--r-- | drivers/android/binder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 7c09b5e38e32..ef353ca13c35 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -6569,6 +6569,10 @@ static void print_binder_proc(struct seq_file *m, seq_puts(m, " has delivered dead binder\n"); break; } + list_for_each_entry(w, &proc->delivered_freeze, entry) { + seq_puts(m, " has delivered freeze binder\n"); + break; + } binder_inner_proc_unlock(proc); if (!print_all && m->count == header_pos) m->count = start_pos; |
