Add logpoint location to ViewerConfigProtoBuilder output

Bug: 356347453
Flag: android.tracing.perfetto_protolog_tracing
Change-Id: Ic2ad03ec072a24d2f4e9a938a4ddd62ce7e0f55b
diff --git a/tools/protologtool/src/com/android/protolog/tool/ViewerConfigProtoBuilder.kt b/tools/protologtool/src/com/android/protolog/tool/ViewerConfigProtoBuilder.kt
index cf0876a..0115339 100644
--- a/tools/protologtool/src/com/android/protolog/tool/ViewerConfigProtoBuilder.kt
+++ b/tools/protologtool/src/com/android/protolog/tool/ViewerConfigProtoBuilder.kt
@@ -55,6 +55,7 @@
                         .setLevel(
                             ProtoLogLevel.forNumber(log.logLevel.ordinal + 1))
                         .setGroupId(groupId)
+                        .setLocation(log.position)
             )
         }