Skip to content
This repository was archived by the owner on Aug 22, 2020. It is now read-only.

systrace marks and binder transaction integration#5

Open
oux wants to merge 11 commits into
tardyp:masterfrom
oux:master
Open

systrace marks and binder transaction integration#5
oux wants to merge 11 commits into
tardyp:masterfrom
oux:master

Conversation

@oux

@oux oux commented Sep 16, 2013

Copy link
Copy Markdown
  • tgid is an ftrace optional field that is set by atrace on MR2.
  • .html is systrace file extension
  • \n\ is the end of line on systrace files (maybe due to adb)
  • Adding color configuration on wake_event to be able to differentiate each kind of arrows (used to see binder transation arrows).

I changed generic_add_wake() interface:

  • to be more usable: no more event object dependence just to get timestamp.
  • more readable calls on plugins: color_name instead of color itself.

@oux

oux commented Sep 18, 2013

Copy link
Copy Markdown
Author

Previews review has been take into account.

I changed generic_add_wake() interface:

  • to be more usable: no more event object dependence just to get timestamp.
  • more readable calls on plugins: color_name instead of color itself.

@oux

oux commented Sep 18, 2013

Copy link
Copy Markdown
Author

Last minute fix... sorry.

@tardyp

tardyp commented Sep 25, 2013

Copy link
Copy Markdown
Owner

Could you please rebase this PR on the latest pytimechart, and add some unit tests, and example traces that you plugin is supporting?

You can find example unit test here:
timechart/tests/test_ftrace.py
traces are to be put in conf in
timechart/tests/test_db

Sebastien MICHEL and others added 11 commits October 1, 2013 20:50
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
…irectly

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
* Counter marker support
* Stack view of sync and async systrace marks
* duration next to usertag of sync and async systrace marks

Signed-off-by: Stephane Gasparini <stephane.gasparini@intel.com>
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
To be able to link a wake_event with the sched process line without comm
(ie <...> instead of real comm)

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
To see wake_events between processes thru binders

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Add unit tests for tgid and tracing_mark_write plugin

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
@oux

oux commented Oct 2, 2013

Copy link
Copy Markdown
Author

Rebase done + some tests (not yet for binder plugin because we must write more assert on tests/base.py. We should do that later)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants