Add support for more events

Events added to be backwards compatible with catapult.

This CL adds the following events:
binder_transaction_alloc_buf
clk_enable
clk_disable
clk_set_rate
fence_destroy
fence_init
fence_enable_signal
fence_signaled

Removes the following events which are obsolete:
cpufreq_interactive_already
cpufreq_interactive_boost
cpufreq_interactive_notyet
cpufreq_interactive_setspeed
cpufreq_interactive_target
cpufreq_interactive_unboost

It also adds trace_to_text support for some events that were already
added.

Small changes to ftrace_proto_gen and PRESUBMIT.py to allow the
event whitelist to include the name of an event if
it is removed. So the line now just has to start with
"removed" and then can have extra information after it.

Bug:117588397
Change-Id: Id06f2f1af10f7cdf7d5a3ee387c7a557f643c845
22 files changed
tree: b08bd9ad871e09de282c2d08e17192d29db98115
  1. build_overrides/
  2. buildtools/
  3. debian/
  4. docs/
  5. gn/
  6. include/
  7. infra/
  8. protos/
  9. src/
  10. test/
  11. tools/
  12. ui/
  13. .clang-format
  14. .gitignore
  15. .gn
  16. .travis.yml
  17. Android.bp
  18. Android.bp.extras
  19. BUILD.gn
  20. codereview.settings
  21. heapprofd.rc
  22. MODULE_LICENSE_APACHE2
  23. NOTICE
  24. OWNERS
  25. perfetto.rc
  26. PRESUBMIT.py
  27. README.chromium
  28. README.md
README.md

Perfetto - Performance instrumentation and tracing

Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.

See www.perfetto.dev for docs.

Bugs

  • For bugs affecting Android or the tracing internals use the internal bug tracker (go/perfetto-bugs).
  • For bugs affecting Chrome use http://crbug.com, Component:Speed>Tracing label:Perfetto.