Add long running jobs info

For the data to prioritize long running tasks in ninja, I added the
information about that.

Bug: 271526845
Test: build and check metrics
Change-Id: I76807f9b0d6a50d940b5f35dd6a9ef3cf693eec5
diff --git a/ui/metrics/metrics_proto/metrics.proto b/ui/metrics/metrics_proto/metrics.proto
index 2fc9e09..f7a836e 100644
--- a/ui/metrics/metrics_proto/metrics.proto
+++ b/ui/metrics/metrics_proto/metrics.proto
@@ -318,16 +318,18 @@
   repeated string mixed_build_disabled_modules = 2;
 }
 
-message CriticalPathInfo{
+message CriticalPathInfo {
   // Real time which the build system spent
   optional uint64 elapsed_time = 1;
   // The sum of execution time of the longest path from leave to the root
   optional uint64 critical_path_time = 2;
   // Detailed job information in a critical path.
   repeated JobInfo critical_path = 4;
+  // Detailed job information for long running jobs (>30 seconds). These may or may not also be on a critical path.
+  repeated JobInfo long_running_jobs = 5;
 }
 
-message JobInfo{
+message JobInfo {
   // Real time which a job spent
   optional uint64 elapsed_time = 1;
   // Description of a job