Move ftrace format_parser into its own subdirectory

Unlike the rest of ftrace code, which is intended only for
Linux-based systems, the parser code is needed on Windows as
well  (for minor presubmit-related tasks).
The usual problem is that we can't easily mix Linux-only and
cross-platform code in the same BUILD.gn file, because one single
target dependency makes the other targets in the same file visible
to the "all" target.
We fix this by moving format_parser into its own folder with a
dedicated BUILD.gn file, which is platform neutral.
No production code was harmed while writing this refactoring.

Bug: 174454879
Change-Id: Ib3fca8ee6a3b517b5e02517f6925e04138b73cfb
12 files changed
tree: 178ccc0bb92dface729d9bdbf84ab28c081e6c32
  1. .github/
  2. bazel/
  3. build_overrides/
  4. buildtools/
  5. debian/
  6. docs/
  7. examples/
  8. gn/
  9. include/
  10. infra/
  11. protos/
  12. src/
  13. test/
  14. tools/
  15. ui/
  16. .clang-format
  17. .clang-tidy
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. Android.bp
  22. Android.bp.extras
  23. BUILD
  24. BUILD.extras
  25. BUILD.gn
  26. CHANGELOG
  27. codereview.settings
  28. heapprofd.rc
  29. LICENSE
  30. METADATA
  31. MODULE_LICENSE_APACHE2
  32. OWNERS
  33. perfetto.rc
  34. PRESUBMIT.py
  35. README.chromium
  36. README.md
  37. TEST_MAPPING
  38. traced_perf.rc
  39. WORKSPACE
README.md

Perfetto - System profiling, app tracing and trace analysis

Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.

See https://perfetto.dev/docs or the /docs/ directory for documentation.