Skip to content

Commit

Permalink
Merge changes I1305c019,Ifcbd4f49 into main
Browse files Browse the repository at this point in the history
* changes:
  binder_tracker: Support binder_command and binder_return
  Add binder_command and binder_return ftrace events
  • Loading branch information
ddiproietto authored and Gerrit Code Review committed Sep 25, 2023
2 parents f7662c8 + f4263b0 commit c478eb8
Show file tree
Hide file tree
Showing 13 changed files with 760 additions and 2 deletions.
6 changes: 6 additions & 0 deletions protos/perfetto/trace/ftrace/binder.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ message BinderTransactionAllocBufFtraceEvent {
optional uint64 offsets_size = 3;
optional uint64 extra_buffers_size = 4;
}
message BinderCommandFtraceEvent {
optional uint32 cmd = 1;
}
message BinderReturnFtraceEvent {
optional uint32 cmd = 1;
}
2 changes: 2 additions & 0 deletions protos/perfetto/trace/ftrace/ftrace_event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -599,5 +599,7 @@ message FtraceEvent {
MaliMaliCSFINTERRUPTSTARTFtraceEvent mali_mali_CSF_INTERRUPT_START = 482;
MaliMaliCSFINTERRUPTENDFtraceEvent mali_mali_CSF_INTERRUPT_END = 483;
SamsungTracingMarkWriteFtraceEvent samsung_tracing_mark_write = 484;
BinderCommandFtraceEvent binder_command = 485;
BinderReturnFtraceEvent binder_return = 486;
}
}
8 changes: 8 additions & 0 deletions protos/perfetto/trace/perfetto_trace.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5483,6 +5483,12 @@ message BinderTransactionAllocBufFtraceEvent {
optional uint64 offsets_size = 3;
optional uint64 extra_buffers_size = 4;
}
message BinderCommandFtraceEvent {
optional uint32 cmd = 1;
}
message BinderReturnFtraceEvent {
optional uint32 cmd = 1;
}

// End of protos/perfetto/trace/ftrace/binder.proto

Expand Down Expand Up @@ -9207,6 +9213,8 @@ message FtraceEvent {
MaliMaliCSFINTERRUPTSTARTFtraceEvent mali_mali_CSF_INTERRUPT_START = 482;
MaliMaliCSFINTERRUPTENDFtraceEvent mali_mali_CSF_INTERRUPT_END = 483;
SamsungTracingMarkWriteFtraceEvent samsung_tracing_mark_write = 484;
BinderCommandFtraceEvent binder_command = 485;
BinderReturnFtraceEvent binder_return = 486;
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/tools/ftrace_proto_gen/event_list
Original file line number Diff line number Diff line change
Expand Up @@ -479,3 +479,5 @@ synthetic/suspend_resume_minimal
mali/mali_CSF_INTERRUPT_START
mali/mali_CSF_INTERRUPT_END
samsung/tracing_mark_write
binder/binder_command
binder/binder_return
Loading

0 comments on commit c478eb8

Please sign in to comment.