Copy benchmark names, which may be transient strings

Bug: skia:
Change-Id: Ic4073aa17a04e8b400cc4a9db9a0669ee4a5c894
Reviewed-on: https://skia-review.googlesource.com/44203
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index abe0596..d784439 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -1273,7 +1273,8 @@
                 }
             }
 
-            TRACE_EVENT1("skia", bench->getUniqueName(), "config", TRACE_STR_COPY(config));
+            TRACE_EVENT2("skia", "Benchmark", "name", TRACE_STR_COPY(bench->getUniqueName()),
+                                              "config", TRACE_STR_COPY(config));
 
             target->setup();
             bench->perCanvasPreDraw(canvas);