Skip to content

binder: extended error and logging enhancements

Carlos Llamas linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5binder: add failed transaction logging infodrivers/android/binder.c+6 -22 replies
2/5binder: add BINDER_GET_EXTENDED_ERROR ioctldrivers/android/binder.c drivers/android/binder_internal.h include/uapi/linux/android/binder.h+79 -02 replies
3/5binderfs: add extended_error feature entrydrivers/android/binderfs.c tools/testing/selftests/filesystems/binderfs/binderfs_test.c+9 -02 replies
4/5binder: convert logging macros into functionsdrivers/android/binder.c+29 -122 replies
5/5binder: additional transaction error logsdrivers/android/binder.c+44 -42 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchTodd KjosChristian Brauner (Microsoft)
1/5A-b A-b
2/5A-b A-b
3/5A-b R-b
4/5A-b A-b
5/5A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] binder: extended error and logging enhancements

This is a followup from [1], in which a split of commits was suggested by Greg. Additionally, the following changes were removed and not included in this v2 version:

- dropped the binder_transaction_log_entry->strerr[] logic
- dropped the binder_transaction_error() do-it-all function
- dropped the re-work of current binder_user_error() messages

[1] https://lore.kernel.org/r/[email protected]/

Carlos Llamas (5):
binder: add failed transaction logging info
binder: add BINDER_GET_EXTENDED_ERROR ioctl
binderfs: add extended_error feature entry
binder: convert logging macros into functions
binder: additional transaction error logs

 drivers/android/binder.c                      | 153 ++++++++++++++++--
 drivers/android/binder_internal.h             |   3 +
 drivers/android/binderfs.c                    |   8 +
 include/uapi/linux/android/binder.h           |  16 ++
 .../filesystems/binderfs/binderfs_test.c      |   1 +
 5 files changed, 165 insertions(+), 16 deletions(-)

base-commit: 8013d1d3d2e33236dee13a133fba49ad55045e79

Signature · 1 line
2.36.0.464.gb9c8b46e94-goog