/base/hiviewdfx/faultloggerd/test/unittest/stacktrace_rust/ |
D | main.rs | 26 let trace = stacktrace_rust::get_trace(false); in test_get_trace() localVariable 27 assert!(!trace.is_empty()); in test_get_trace() 28 assert!(trace.contains("#00")); in test_get_trace() 29 assert!(trace.contains("libstacktrace_rust.dylib.so")); in test_get_trace() 30 assert!(trace.contains("rust_stacktrace_test")); in test_get_trace() 38 let trace = stacktrace_rust::get_trace(false); in test_get_trace_in_multithread() localVariable 39 assert!(!trace.is_empty()); in test_get_trace_in_multithread() 40 assert!(trace.contains("#00")); in test_get_trace_in_multithread() 41 assert!(trace.contains("libstacktrace_rust.dylib.so")); in test_get_trace_in_multithread() 42 assert!(trace.contains("rust_stacktrace_test")); in test_get_trace_in_multithread() [all …]
|
/base/request/request/services/service/rust/src/ |
D | trace.rs | 33 pub(crate) fn trace(value: &str) -> Self { in trace() method 34 let trace = Self { label: Self::HITRACE_TAG_MISC }; in trace() localVariable 35 start_trace(trace.label, value); in trace() 36 trace in trace()
|
D | lib.rs | 36 pub(crate) mod trace; module
|
/base/hiviewdfx/hitrace/cmd/config/ |
D | hitrace.rc | 20 chmod 0666 /sys/kernel/debug/tracing/trace 104 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu0/trace 105 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu1/trace 106 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu2/trace 107 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu3/trace 108 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu4/trace 109 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu5/trace 110 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu6/trace 111 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu7/trace 112 chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu8/trace [all …]
|
D | hitrace.cfg | 16 "chmod 0666 /sys/kernel/debug/tracing/trace", 184 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu0/trace", 185 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu1/trace", 186 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu2/trace", 187 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu3/trace", 188 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu4/trace", 189 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu5/trace", 190 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu6/trace", 191 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu7/trace", 192 "chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu8/trace", [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/test/moduletest/common/ |
D | smart_parser_module_test.cpp | 80 std::vector<std::string> trace; variable 81 StringUtil::SplitStr(eventInfos["END_STACK"], LogUtil::SPLIT_PATTERN, trace, false, false); 84 while (getline(buff, line) && num < trace.size()) { 85 EXPECT_STREQ(line.c_str(), trace[num++].c_str()); 120 std::vector<std::string> trace; variable 121 StringUtil::SplitStr(eventInfos["END_STACK"], LogUtil::SPLIT_PATTERN, trace, false, false); 124 while (getline(buff, line) && num < trace.size()) { 125 EXPECT_STREQ(line.c_str(), trace[num++].c_str()); 163 std::vector<std::string> trace; variable 164 StringUtil::SplitStr(eventInfos["END_STACK"], LogUtil::SPLIT_PATTERN, trace, false, false); [all …]
|
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/ |
D | lib.rs | 47 let trace = GetTrace(skip_frame_num); in get_trace() localVariable 48 CStr::from_ptr(trace).to_str().unwrap().to_owned() in get_trace()
|
/base/hiviewdfx/faultloggerd/tools/panic_maker/ |
D | main.rs | 64 let trace = stacktrace_rust::get_trace(false); in get_trace_in_multi_thread() localVariable 65 println!("{}", trace); in get_trace_in_multi_thread()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/ |
D | backtrace_local.cpp | 118 static std::string trace; in GetTrace() local 119 trace.clear(); in GetTrace() 120 if (!GetBacktrace(trace, skipFrameNum)) { in GetTrace() 123 return trace.c_str(); in GetTrace()
|
/base/startup/init/services/modules/ |
D | BUILD.gn | 33 "trace:inittrace_cfg", 34 "trace:libinittrace_static", 47 "trace:inittrace",
|
/base/hiviewdfx/hiview/utility/common_utils/ |
D | tbox.cpp | 142 std::vector<std::string> trace; in FilterTrace() local 144 std::string block = logparse.GetFilterTrace(iterEndStack->second, trace, eventType); in FilterTrace() 147 … std::stack<std::string> stackTop = logparse.GetStackTop(trace, 3); // 3 : first/second/last frame in FilterTrace()
|
D | log_parse.cpp | 272 std::string LogParse::GetFilterTrace(const std::string& info, std::vector<std::string>& trace, in GetFilterTrace() argument 279 StringUtil::SplitStr(newInfo, "\n", trace, false, false); in GetFilterTrace() 281 for (const auto& str : trace) { in GetFilterTrace() 284 trace.clear(); in GetFilterTrace() 285 return GetValidBlock(traceStack, trace); in GetFilterTrace()
|
/base/hiviewdfx/hiview/service/unified_collection/ |
D | xcollect_service.cpp | 183 for (auto trace : ret.outputFiles) { in DumpTraceToDir() local 184 size_t pos = trace.rfind('/'); in DumpTraceToDir() 189 std::string dst = outDir + trace.substr(pos); in DumpTraceToDir() 190 CopyTmpFile(trace, dst); in DumpTraceToDir()
|
/base/useriam/user_auth_framework/services/context/inc/ |
D | trace.h | 28 static Trace trace;
|
/base/hiviewdfx/hitrace/interfaces/native/kits/ |
D | BUILD.gn | 25 sources = [ "./include/hitrace/trace.h" ]
|
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/ |
D | hitrace_ndk_test.cpp | 289 MyTrace trace; in GetTraceResult() local 291 return trace; in GetTraceResult() 315 trace.Load(param); in GetTraceResult() 319 return trace; in GetTraceResult() 385 string GetFinishTraceRegex(MyTrace& trace) in GetFinishTraceRegex() argument 387 if (!trace.IsLoaded()) { in GetFinishTraceRegex() 390 …return "\\s*(.*?)-(" + trace.GetTid() + "?)\\s+(.*?)\\[(\\d+?)\\]\\s+(.*?)\\s+" + "((\\d+).(\\d+)?… in GetFinishTraceRegex() 391 TRACE_MARK_WRITE + ": E\\|(" + trace.GetPid() + ")|(.*)"; in GetFinishTraceRegex()
|
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/ |
D | backtrace_local_test.cpp | 291 const char* trace = GetTrace(); variable 292 std::string stacktrace(trace);
|
/base/hiviewdfx/hiview/utility/common_utils/include/ |
D | log_parse.h | 36 std::string GetFilterTrace(const std::string& info, std::vector<std::string>& trace,
|
/base/useriam/user_auth_framework/services/context/ |
D | BUILD.gn | 37 "src/trace.cpp",
|
/base/useriam/user_auth_framework/services/context/src/ |
D | trace.cpp | 30 Trace Trace::trace; member in OHOS::UserIam::UserAuth::Trace
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/ |
D | last_kmsg | 280 <14>[ 5.234426] [pid=1][PLUGIN][INFO][init_trace_static.c:23]init trace enabled. 414 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu4/trace " to 0666, err=2 415 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu5/trace " to 0666, err=2 416 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu6/trace " to 0666, err=2 417 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu7/trace " to 0666, err=2 418 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu8/trace " to 0666, err=2 419 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu9/trace " to 0666, err=2 420 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu10/trace " to 0666, err=2 421 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu11/trace " to 0666, err=2 422 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu12/trace " to 0666, err=2 [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/ |
D | last_kmsg | 280 <14>[ 5.234426] [pid=1][PLUGIN][INFO][init_trace_static.c:23]init trace enabled. 414 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu4/trace " to 0666, err=2 415 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu5/trace " to 0666, err=2 416 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu6/trace " to 0666, err=2 417 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu7/trace " to 0666, err=2 418 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu8/trace " to 0666, err=2 419 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu9/trace " to 0666, err=2 420 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu10/trace " to 0666, err=2 421 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu11/trace " to 0666, err=2 422 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu12/trace " to 0666, err=2 [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/ |
D | last_kmsg | 280 <14>[ 5.234426] [pid=1][PLUGIN][INFO][init_trace_static.c:23]init trace enabled. 414 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu4/trace " to 0666, err=2 415 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu5/trace " to 0666, err=2 416 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu6/trace " to 0666, err=2 417 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu7/trace " to 0666, err=2 418 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu8/trace " to 0666, err=2 419 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu9/trace " to 0666, err=2 420 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu10/trace " to 0666, err=2 421 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu11/trace " to 0666, err=2 422 …n_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/per_cpu/cpu12/trace " to 0666, err=2 [all …]
|
/base/startup/init/services/etc/ |
D | init.cfg | 192 "chmod 0773 /data/misc/trace", 196 "name" : "init-trace",
|
/base/security/selinux_adapter/sepolicy/ohos_policy/startup/init/public/ |
D | init.te | 59 # for init trace
|