Lines Matching refs:Profiling
194 protos::pbzero::Profiling::CpuMode ToCpuModeEnum(uint16_t perf_cpu_mode) { in ToCpuModeEnum()
195 using Profiling = protos::pbzero::Profiling; in ToCpuModeEnum() typedef
198 return Profiling::MODE_KERNEL; in ToCpuModeEnum()
200 return Profiling::MODE_USER; in ToCpuModeEnum()
202 return Profiling::MODE_HYPERVISOR; in ToCpuModeEnum()
204 return Profiling::MODE_GUEST_KERNEL; in ToCpuModeEnum()
206 return Profiling::MODE_GUEST_USER; in ToCpuModeEnum()
208 return Profiling::MODE_UNKNOWN; in ToCpuModeEnum()
212 protos::pbzero::Profiling::StackUnwindError ToProtoEnum( in ToProtoEnum()
214 using Profiling = protos::pbzero::Profiling; in ToProtoEnum() typedef
217 return Profiling::UNWIND_ERROR_NONE; in ToProtoEnum()
219 return Profiling::UNWIND_ERROR_MEMORY_INVALID; in ToProtoEnum()
221 return Profiling::UNWIND_ERROR_UNWIND_INFO; in ToProtoEnum()
223 return Profiling::UNWIND_ERROR_UNSUPPORTED; in ToProtoEnum()
225 return Profiling::UNWIND_ERROR_INVALID_MAP; in ToProtoEnum()
227 return Profiling::UNWIND_ERROR_MAX_FRAMES_EXCEEDED; in ToProtoEnum()
229 return Profiling::UNWIND_ERROR_REPEATED_FRAME; in ToProtoEnum()
231 return Profiling::UNWIND_ERROR_INVALID_ELF; in ToProtoEnum()
233 return Profiling::UNWIND_ERROR_SYSTEM_CALL; in ToProtoEnum()
235 return Profiling::UNWIND_ERROR_THREAD_TIMEOUT; in ToProtoEnum()
237 return Profiling::UNWIND_ERROR_THREAD_DOES_NOT_EXIST; in ToProtoEnum()
239 return Profiling::UNWIND_ERROR_UNKNOWN; in ToProtoEnum()