| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix codecheck Signed-off-by: wanghao505 <wanghao505@huawei.com> | 1 年前 | |
log(mmi): convert remaining CALL_INFO_TRACE function traces to CALL_DEBUG_ENTER CALL_INFO_TRACE emits an Info-level "enter"/"leave" function trace (via InnerFunctionTracer with LOG_INFO), while CALL_DEBUG_ENTER emits the same trace at Debug. Function entry/exit traces are developer diagnostics and should not run at Info in production (the highest-volume ones, e.g. GetProcessName, NotifyBundleName, GetIntervalSinceLastInput, were already migrated). This completes that band by converting every remaining CALL_INFO_TRACE usage to CALL_DEBUG_ENTER, demoting all such traces to Debug. Scope: 505 usage sites across 70 files in service/ (211), intention/ (152), frameworks/ (139), util/ (3). The #define CALL_INFO_TRACE directive in util/common/include/mmi_log.h is preserved (only usages are converted), so the macro still exists for any out-of-tree/test consumer and no redefinition occurs. Safety: the two macros deliberately use distinct tracer variable names (__innerFuncTracer_Debug___ vs ___innerFuncTracer_Info___) so they can coexist. A scope-aware scan (skipping strings/comments) confirmed no scope contains both macros, so renaming cannot create two __innerFuncTracer_Debug___ in one scope. Only the trace-level token is changed; no business logic is touched. TicketNo: (由用户手动关联) Signed-off-by: JustinHu <gchenghu@126.com> Co-Authored-By: Agent | 1 个月前 | |
log(mmi): convert remaining CALL_INFO_TRACE function traces to CALL_DEBUG_ENTER CALL_INFO_TRACE emits an Info-level "enter"/"leave" function trace (via InnerFunctionTracer with LOG_INFO), while CALL_DEBUG_ENTER emits the same trace at Debug. Function entry/exit traces are developer diagnostics and should not run at Info in production (the highest-volume ones, e.g. GetProcessName, NotifyBundleName, GetIntervalSinceLastInput, were already migrated). This completes that band by converting every remaining CALL_INFO_TRACE usage to CALL_DEBUG_ENTER, demoting all such traces to Debug. Scope: 505 usage sites across 70 files in service/ (211), intention/ (152), frameworks/ (139), util/ (3). The #define CALL_INFO_TRACE directive in util/common/include/mmi_log.h is preserved (only usages are converted), so the macro still exists for any out-of-tree/test consumer and no redefinition occurs. Safety: the two macros deliberately use distinct tracer variable names (__innerFuncTracer_Debug___ vs ___innerFuncTracer_Info___) so they can coexist. A scope-aware scan (skipping strings/comments) confirmed no scope contains both macros, so renaming cannot create two __innerFuncTracer_Debug___ in one scope. Only the trace-level token is changed; no business logic is touched. TicketNo: (由用户手动关联) Signed-off-by: JustinHu <gchenghu@126.com> Co-Authored-By: Agent | 1 个月前 | |
fix codecheck Signed-off-by: wanghao505 <wanghao505@huawei.com> | 1 年前 | |
refactor: rearrange target positions in BUILD.gn files Move ohos_unittest target blocks to improve code organization without changing any build logic: - service/BUILD.gn: swap two groups of unittest targets (788+788 lines) - frameworks/proxy/BUILD.gn: swap two groups of unittest targets (471+413 lines) Total: 2 files changed, 2402 lines rearranged (pure position swap) Change-Id: I771aa6d160cbc8d3f93c2ab5d559a9da4696dbe1 Signed-off-by: xueyuanzhao <zhaoxueyuan@huawei.com> Co-Authored-By: Agent Signed-off-by: xueyuanzhao <zhaoxueyuan@huawei.com> | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 1 个月前 |