Commit fdfb4a99 authored by Todd Kjos's avatar Todd Kjos Committed by Greg Kroah-Hartman

binder: separate binder allocator structure from binder proc

The binder allocator is logically separate from the rest
of the binder drivers. Separating the data structures
to prepare for splitting into separate file with separate
locking.
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 00b40d61
This diff is collapsed.
...@@ -280,7 +280,7 @@ TRACE_EVENT(binder_update_page_range, ...@@ -280,7 +280,7 @@ TRACE_EVENT(binder_update_page_range,
TP_fast_assign( TP_fast_assign(
__entry->proc = proc->pid; __entry->proc = proc->pid;
__entry->allocate = allocate; __entry->allocate = allocate;
__entry->offset = start - proc->buffer; __entry->offset = start - proc->alloc.buffer;
__entry->size = end - start; __entry->size = end - start;
), ),
TP_printk("proc=%d allocate=%d offset=%zu size=%zu", TP_printk("proc=%d allocate=%d offset=%zu size=%zu",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment