Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 32) sorted by relevance

12

/base/hiviewdfx/faultloggerd/test/unittest/stacktrace_rust/
Dmain.rs26 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/
Dtrace.rs33 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()
Dlib.rs36 pub(crate) mod trace; module
/base/hiviewdfx/hitrace/cmd/config/
Dhitrace.rc20 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 …]
Dhitrace.cfg16 "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/
Dsmart_parser_module_test.cpp80 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/
Dlib.rs47 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/
Dmain.rs64 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/
Dbacktrace_local.cpp118 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/
DBUILD.gn33 "trace:inittrace_cfg",
34 "trace:libinittrace_static",
47 "trace:inittrace",
/base/hiviewdfx/hiview/utility/common_utils/
Dtbox.cpp142 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()
Dlog_parse.cpp272 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/
Dxcollect_service.cpp183 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/
Dtrace.h28 static Trace trace;
/base/hiviewdfx/hitrace/interfaces/native/kits/
DBUILD.gn25 sources = [ "./include/hitrace/trace.h" ]
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/
Dhitrace_ndk_test.cpp289 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/
Dbacktrace_local_test.cpp291 const char* trace = GetTrace(); variable
292 std::string stacktrace(trace);
/base/hiviewdfx/hiview/utility/common_utils/include/
Dlog_parse.h36 std::string GetFilterTrace(const std::string& info, std::vector<std::string>& trace,
/base/useriam/user_auth_framework/services/context/
DBUILD.gn37 "src/trace.cpp",
/base/useriam/user_auth_framework/services/context/src/
Dtrace.cpp30 Trace Trace::trace; member in OHOS::UserIam::UserAuth::Trace
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg280 <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/
Dlast_kmsg280 <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/
Dlast_kmsg280 <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/
Dinit.cfg192 "chmod 0773 /data/misc/trace",
196 "name" : "init-trace",
/base/security/selinux_adapter/sepolicy/ohos_policy/startup/init/public/
Dinit.te59 # for init trace

12