github.com/pinpoint-apm/pinpoint-go-agent@v1.4.1-0.20240110120318-a50c2eb18c8c/protobuf/ThreadDump.proto (about)

     1  syntax = "proto3";
     2  
     3  option java_multiple_files = true;
     4  option java_package = "com.navercorp.pinpoint.grpc.trace";
     5  option java_outer_classname = "ThreadDumpProto";
     6  option go_package = "/v1";
     7  
     8  package v1;
     9  
    10  enum PThreadState {
    11      THREAD_STATE_NEW = 0;
    12      THREAD_STATE_RUNNABLE = 1;
    13      THREAD_STATE_BLOCKED = 2;
    14      THREAD_STATE_WAITING = 3;
    15      THREAD_STATE_TIMED_WAITING = 4;
    16      THREAD_STATE_TERMINATED = 5;
    17      THREAD_STATE_UNKNOWN = 6;
    18  }
    19  
    20  message PMonitorInfo {
    21      int32 stackDepth = 1;
    22      string stackFrame = 2;
    23  }
    24  
    25  message PThreadDump {
    26      string threadName = 1;
    27      int64 threadId = 2;
    28      int64 blockedTime = 3;
    29      int64 blockedCount = 4;
    30      int64 waitedTime = 5;
    31      int64 waitedCount = 6;
    32      string lockName = 7;
    33      int64 lockOwnerId = 8;
    34      string lockOwnerName = 9;
    35      bool inNative = 10;
    36      bool suspended = 11;
    37      PThreadState threadState = 12;
    38      repeated string stackTrace = 13;
    39      repeated PMonitorInfo lockedMonitor = 14;
    40      repeated string lockedSynchronizer = 15;
    41  }
    42  
    43  message PThreadLightDump {
    44      string threadName = 1;
    45      int64 threadId = 2;
    46      PThreadState threadState = 3;
    47  }
    48  
    49  enum PThreadDumpType {
    50      TARGET = 0;
    51      PENDING = 1;
    52  }
    53  
    54  message PActiveThreadDump {
    55      int64 startTime = 1;
    56      int64 localTraceId = 2;
    57      PThreadDump threadDump = 3;
    58      bool sampled = 4;
    59      string transactionId = 5;
    60      string entryPoint = 6;
    61  }
    62  
    63  message PActiveThreadLightDump {
    64      int64 startTime = 1;
    65      int64 localTraceId = 2;
    66      PThreadLightDump threadDump = 3;
    67      bool sampled = 4;
    68      string transactionId = 5;
    69      string entryPoint = 6;
    70  }
    71  
    72