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

systrace marks and binder transaction integration #5

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

oux
Copy link

@oux oux commented Sep 16, 2013

  • 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
Copy link
Author

oux commented Sep 18, 2013

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
Copy link
Author

oux commented Sep 18, 2013

Last minute fix... sorry.

@tardyp
Copy link
Owner

tardyp commented Sep 25, 2013

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
Copy link
Author

oux commented Oct 2, 2013

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.

None yet

2 participants