Family binder
netlink specification¶
Summary¶
Binder interface over generic netlink
Operations¶
report¶
A multicast event sent to userspace subscribers to notify them about binder transaction failures. The generated report provides the full details of the specific transaction that failed. The intention is for programs to monitor these events and react to the failures as needed.
- attribute-set:
- mcgrp:
report
- event:
{‘attributes’: [‘error’, ‘context’, ‘from_pid’, ‘from_tid’, ‘to_pid’, ‘to_tid’, ‘is_reply’, ‘flags’, ‘code’, ‘data_size’], ‘__lineno__’: 77}
Multicast groups¶
report
Attribute sets¶
report¶
error (u32
)¶
- doc:
The
enum binder_driver_return_protocol
returned to the sender.
context (string
)¶
- doc:
The binder context where the transaction occurred.
from_pid (u32
)¶
- doc:
The PID of the sender process.
from_tid (u32
)¶
- doc:
The TID of the sender thread.
to_pid (u32
)¶
- doc:
The PID of the recipient process. This attribute may not be present if the target could not be determined.
to_tid (u32
)¶
- doc:
The TID of the recipient thread. This attribute may not be present if the target could not be determined.
is_reply (flag
)¶
- doc:
When present, indicates the failed transaction is a reply.
flags (u32
)¶
- doc:
The bitmask of
enum transaction_flags
from the transaction.
code (u32
)¶
- doc:
The application-defined code from the transaction.
data_size (u32
)¶
- doc:
The transaction payload size in bytes.