Add tracing to GrContext resource cleanup

For https://github.com/flutter/flutter/issues/35296

The change is suggested by bsalomon@google.com

Change-Id: I70a2f5298b49d7a64e51cb1f364834e62dcaf4a9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/225119
Commit-Queue: Yuqian Li <liyuqian@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Auto-Submit: Yuqian Li <liyuqian@google.com>
diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp
index e73e73e..e001bf9 100644
--- a/src/gpu/gl/GrGLPath.cpp
+++ b/src/gpu/gl/GrGLPath.cpp
@@ -330,6 +330,8 @@
 }
 
 void GrGLPath::onRelease() {
+    TRACE_EVENT0("skia.gpu", TRACE_FUNC);
+
     if (0 != fPathID) {
         static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fPathID, 1);
         fPathID = 0;