Re: [PATCH] binder: synchronize Rust Binder stats with freeze commands

From: Alice Ryhl

Date: Mon Jun 15 2026 - 17:09:43 EST


On Mon, Jun 15, 2026 at 10:36 PM Carlos Llamas <cmllamas@xxxxxxxxxx> wrote:
>
> On Tue, Jun 16, 2026 at 01:47:37AM +0530, syncrain wrote:
> > From: Keshav Verma <iganschel@xxxxxxxxx>
> >
> > Rust Binder stats use BC_COUNT and BR_COUNT to size the command and
> > return counters, and use event string tables when printing debug
> > statistics.
> >
> > The Binder protocol includes freeze-related commands and return codes,
> > but the Rust Binder statistics code was not updated to cover them. As a
> > result, those commands and return codes are not accounted for or printed
> > by the stats debug output.
> >
> > Update the counts and event string tables so these commands and return
> > codes are included in the debug statistics output.
> >
> > Signed-off-by: Keshav Verma <iganschel@xxxxxxxxx>
> > ---
>
> IIUC, this should have tags:
> Cc: stable <stable@xxxxxxxxxx>
> Fixes: eafedbc7c050 ("rust_binder: add Rust Binder driver")
>
>
> But other than that, it LGTM so:
> Acked-by: Carlos Llamas <cmllamas@xxxxxxxxxx>

Patch itself LGTM, so:

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Thanks!