luci: Handle tag in the new github repo (#1410)

Since a6ec3cf0d3("perfetto: use Chromium mirror for LUCI (#1183)"), the
way tags are described in the checked out repo has changed.

Instead of v50.1, the tags show up as upstream/v50.1

Proof:
* For v49.0, the cipd package was tagged as v49.0
https://chrome-infra-packages.appspot.com/p/perfetto/trace_processor_shell/linux-arm64/+/wqR1jrSJAocyjh6cY-pJIE3QF6wfdTdkfkE2rk-rCYIC
* For v50.1, the cipd package is tagged as upstream/v50.1
https://chrome-infra-packages.appspot.com/p/perfetto/trace_processor_shell/linux-arm64/+/HXtZkPE1_oU74BLM0TFg3RNqojF0u4_A2dwKgxmUddwC

the tag used for cipd comes from `ctx.maybe_git_tag`, so we need to
fixed that.

Partially generated via `cd infra/luci && ./recipes.py test train`
2 files changed
tree: 638361c9fc89f3f77b831c431e1baf8fa4e80e69
  1. .github/
  2. bazel/
  3. build_overrides/
  4. buildtools/
  5. debian/
  6. docs/
  7. examples/
  8. gn/
  9. include/
  10. infra/
  11. protos/
  12. python/
  13. src/
  14. test/
  15. third_party/
  16. tools/
  17. ui/
  18. .bazelignore
  19. .bazelrc
  20. .bazelversion
  21. .clang-format
  22. .clang-tidy
  23. .git-blame-ignore-revs
  24. .gitallowed
  25. .gitattributes
  26. .gitignore
  27. .gn
  28. .style.yapf
  29. .yapfignore
  30. Android.bp
  31. Android.bp.extras
  32. BUILD
  33. BUILD.extras
  34. BUILD.gn
  35. CHANGELOG
  36. codereview.settings
  37. DIR_METADATA
  38. heapprofd.rc
  39. LICENSE
  40. meson.build
  41. METADATA
  42. MODULE.bazel
  43. MODULE.bazel.lock
  44. MODULE_LICENSE_APACHE2
  45. OWNERS
  46. perfetto.rc
  47. perfetto_flags.aconfig
  48. PerfettoIntegrationTests.xml
  49. persistent_cfg.pbtxt
  50. README.chromium
  51. README.md
  52. TEST_MAPPING
  53. traced_perf.rc
  54. WATCHLISTS
  55. 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.