Enhance optimization and warning level.

This commit is contained in:
TXuian
2024-04-30 11:22:38 +08:00
parent 077dcd66ac
commit 3c6e8ce109
9 changed files with 27 additions and 15 deletions
@@ -367,8 +367,9 @@ static void trace_locate_inner(struct TraceTag* target, struct TraceTag* const p
// p_trace_meta: TRACER_OWNER, VT_FS or other.
// TRACER_OWNER: path: "", name: "dir name"
// other: path: "", name: "file name"
if (!p_trace_meta) {
if (p_trace_meta == NULL) {
DEBUG("trace_locate, not found\n");
return;
}
target->type = p_trace_meta->type;
target->meta = p_trace_meta;