• Home
  • Raw
  • Download

Lines Matching refs:Profiling

222 protos::pbzero::Profiling::CpuMode ToCpuModeEnum(uint16_t perf_cpu_mode) {  in ToCpuModeEnum()
223 using Profiling = protos::pbzero::Profiling; in ToCpuModeEnum() typedef
226 return Profiling::MODE_KERNEL; in ToCpuModeEnum()
228 return Profiling::MODE_USER; in ToCpuModeEnum()
230 return Profiling::MODE_HYPERVISOR; in ToCpuModeEnum()
232 return Profiling::MODE_GUEST_KERNEL; in ToCpuModeEnum()
234 return Profiling::MODE_GUEST_USER; in ToCpuModeEnum()
236 return Profiling::MODE_UNKNOWN; in ToCpuModeEnum()
240 protos::pbzero::Profiling::StackUnwindError ToProtoEnum( in ToProtoEnum()
242 using Profiling = protos::pbzero::Profiling; in ToProtoEnum() typedef
245 return Profiling::UNWIND_ERROR_NONE; in ToProtoEnum()
247 return Profiling::UNWIND_ERROR_MEMORY_INVALID; in ToProtoEnum()
249 return Profiling::UNWIND_ERROR_UNWIND_INFO; in ToProtoEnum()
251 return Profiling::UNWIND_ERROR_UNSUPPORTED; in ToProtoEnum()
253 return Profiling::UNWIND_ERROR_INVALID_MAP; in ToProtoEnum()
255 return Profiling::UNWIND_ERROR_MAX_FRAMES_EXCEEDED; in ToProtoEnum()
257 return Profiling::UNWIND_ERROR_REPEATED_FRAME; in ToProtoEnum()
259 return Profiling::UNWIND_ERROR_INVALID_ELF; in ToProtoEnum()
261 return Profiling::UNWIND_ERROR_SYSTEM_CALL; in ToProtoEnum()
263 return Profiling::UNWIND_ERROR_THREAD_TIMEOUT; in ToProtoEnum()
265 return Profiling::UNWIND_ERROR_THREAD_DOES_NOT_EXIST; in ToProtoEnum()
267 return Profiling::UNWIND_ERROR_BAD_ARCH; in ToProtoEnum()
269 return Profiling::UNWIND_ERROR_MAPS_PARSE; in ToProtoEnum()
271 return Profiling::UNWIND_ERROR_INVALID_PARAMETER; in ToProtoEnum()
273 return Profiling::UNWIND_ERROR_PTRACE_CALL; in ToProtoEnum()
275 return Profiling::UNWIND_ERROR_UNKNOWN; in ToProtoEnum()