summaryrefslogtreecommitdiff
path: root/drivers/android
diff options
context:
space:
mode:
authorSherry Yang <sherryy@android.com>2018-07-27 03:17:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 11:34:12 +0300
commitc8c64b39cf721404d47e7069d7f6d00d03b7f6b4 (patch)
tree738f2884d5f5b59157608409e5093da3b5d27725 /drivers/android
parent45ca3f76de0507ecf143f770570af2942f263812 (diff)
downloadlinux-c8c64b39cf721404d47e7069d7f6d00d03b7f6b4.tar.xz
android: binder: Show extra_buffers_size in trace
Add extra_buffers_size to the binder_transaction_alloc_buf tracepoint. Acked-by: Arve Hjønnevåg <arve@android.com> Signed-off-by: Sherry Yang <sherryy@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder_trace.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/android/binder_trace.h b/drivers/android/binder_trace.h
index 76e3b9c8a8a2..588eb3ec3507 100644
--- a/drivers/android/binder_trace.h
+++ b/drivers/android/binder_trace.h
@@ -248,14 +248,17 @@ DECLARE_EVENT_CLASS(binder_buffer_class,
__field(int, debug_id)
__field(size_t, data_size)
__field(size_t, offsets_size)
+ __field(size_t, extra_buffers_size)
),
TP_fast_assign(
__entry->debug_id = buf->debug_id;
__entry->data_size = buf->data_size;
__entry->offsets_size = buf->offsets_size;
+ __entry->extra_buffers_size = buf->extra_buffers_size;
),
- TP_printk("transaction=%d data_size=%zd offsets_size=%zd",
- __entry->debug_id, __entry->data_size, __entry->offsets_size)
+ TP_printk("transaction=%d data_size=%zd offsets_size=%zd extra_buffers_size=%zd",
+ __entry->debug_id, __entry->data_size, __entry->offsets_size,
+ __entry->extra_buffers_size)
);
DEFINE_EVENT(binder_buffer_class, binder_transaction_alloc_buf,